summaryrefslogtreecommitdiff
path: root/config/essentials/zsh
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-24 13:55:49 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-24 13:55:49 +0200
commitc6ac8de4715bd4d005bbcc190784e1b4133db47b (patch)
tree0b96643be188ec8f2769740cb27a649fe15fbadf /config/essentials/zsh
parenta95eb39726cadb56e9fed8825c170118c8d69116 (diff)
quote googoo aliases
Diffstat (limited to 'config/essentials/zsh')
-rw-r--r--config/essentials/zsh/functions.zsh6
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)"