Minor changes to tmux key bindings and names; minor clean-up
This commit is contained in:
@@ -23,7 +23,7 @@ local target_path=''
|
||||
[[ $# -eq 1 ]] && target_path=$1 ||
|
||||
target_path=$(find $search_dirs -mindepth 1 -maxdepth 1 -type d | fzf)
|
||||
|
||||
if [[ $target_path = "existing" ]]; then target_name=$(echo $existing_sessions | fzf);
|
||||
if [[ $target_path = "find-existing" ]]; then target_name=$(echo $existing_sessions | fzf);
|
||||
elif [[ $target_path = "hub" ]]; then target_name="hub" && target_path="$HOME";
|
||||
elif [[ -n $target_path ]]; then target_name=$(basename "$target_path" | tr . _);
|
||||
fi
|
Reference in New Issue
Block a user