aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/zsh/shortcuts
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.config/zsh/shortcuts')
-rw-r--r--dotfiles/.config/zsh/shortcuts6
1 files changed, 3 insertions, 3 deletions
diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index aa34603..199faee 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -29,9 +29,9 @@ alias spw="setsid $TERMINAL >/dev/null 2>&1 &"
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 fzd='cd "$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type d | fzf || echo ".")"'
+alias fzv='nvim "$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type f | fzf)"'
+alias fzo='op "$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type f | fzf)"'
# Function for changing working dir after exiting lf
lfcd () {