Commit 0a4aab041098
Changed files (1)
modules
profiles
assets
zsh
modules/profiles/assets/zsh/j
@@ -20,11 +20,11 @@ if [[ -n ${fnd} ]];then
[[ -n ${zz} ]] && { echo "ZSHZ: ${zz}"; [[ -z ${opt_p} ]] && cd ${zz}; return;}
}
- local results=($(fd -d 2 -t d . ${root}|egrep -i "${fnd}"))
+ local results=($(fd -d 3 -t d . ${root}|egrep -i "${fnd}"))
[[ ${#results} == 1 ]] && { echo ${results}; [[ -z ${opt_p} ]] && cd ${results} ; return;}
[[ ${#results} == 0 ]] && { echo "No results found for ${fnd}"; return 1;}
args="-q ${fnd}"
fi
-res=$(fd -d 2 -t d . ${root}|sed "s,${root},,"|fzf --height 50% --border ${args})
+res=$(fd -d 3 -t d . ${root}|sed "s,${root},,"|fzf --height 50% --border ${args})
[[ -n ${res} ]] && {echo ${root}${res}; [[ -z ${opt_p} ]] && cd ${root}${res} ; }