diff options
Diffstat (limited to 'config/essentials/zsh/functions.zsh')
-rw-r--r-- | config/essentials/zsh/functions.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/essentials/zsh/functions.zsh b/config/essentials/zsh/functions.zsh index 64761d9..808f4bf 100644 --- a/config/essentials/zsh/functions.zsh +++ b/config/essentials/zsh/functions.zsh @@ -11,9 +11,9 @@ nnn() { test -z "$NNNLVL" && /usr/bin/nnn "$@" || exit } ranger() { test -z "$RANGER_LEVEL" && /usr/bin/ranger "$@" || exit } # googoo aliases -ff () { goo f $1 | fzf } -fd () { goo d $1 | fzf } -fdf () { goo f $1 | fzf | xargs dirname } +ff () { goo f "$1" | fzf } +fd () { goo d "$1" | fzf } +fdf () { goo f "$1" | fzf | xargs -I {} dirname "{}" } o () { f="$(ff $1)" |