From f2aa61e910a8ccab62579a82fdc3e756cd1bd960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 28 Sep 2021 19:03:34 +0300 Subject: fix zsh fzf shortcut aliases Forgot to surround the command result with quotes. --- dotfiles/.config/zsh/shortcuts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dotfiles/.config/zsh') 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 () { -- cgit v1.2.3