diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-24 20:09:53 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-24 20:09:53 +0200 |
commit | c8ff35fa5b6549bf469e643fe238c440eb10f8f2 (patch) | |
tree | d3d3e738b4dc254118ed3cabfc77e5772f1534df /config/essentials/zsh/functions.zsh | |
parent | ed2c13e049f8bbc787a406aba4e023e5edfe792e (diff) | |
parent | 2279a765fb2c9b15792ab9e33454091071fc004a (diff) |
Merge branch 'main' of gdb:dotfiles
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)" |