aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/zsh/shortcuts
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-09-28 19:03:34 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-09-28 19:03:34 +0300
commitf2aa61e910a8ccab62579a82fdc3e756cd1bd960 (patch)
tree807477dd8cde3c91a0bd8b5334dbd7a601a304c6 /dotfiles/.config/zsh/shortcuts
parentdec85ad80a0e7b0b49c354280e1ee3ff4157b9a3 (diff)
downloadswayrice-f2aa61e910a8ccab62579a82fdc3e756cd1bd960.tar.gz
swayrice-f2aa61e910a8ccab62579a82fdc3e756cd1bd960.zip
fix zsh fzf shortcut aliases
Forgot to surround the command result with quotes.
Diffstat (limited to 'dotfiles/.config/zsh/shortcuts')
-rw-r--r--dotfiles/.config/zsh/shortcuts4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index e203a26..aa34603 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -30,8 +30,8 @@ alias testinet="ping -c2 example.com"
# Fuzzy finder
alias fzd='cd "$(find . -type d | fzf || echo ".")"'
-alias fzv='nvim $(find . -type f | fzf)'
-alias fzo='op $(find . -type f | fzf)'
+alias fzv='nvim "$(find . -type f | fzf)"'
+alias fzo='op "$(find . -type f | fzf)"'
# Function for changing working dir after exiting lf
lfcd () {