aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/zsh/shortcuts
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-10-07 14:40:43 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-10-07 14:40:43 +0300
commit4213b8745e62801b9926c699edf7ad3ffd94f0b4 (patch)
tree5eefd6e6fac3f6291a3b76ff1a54ecc112f32ebb /dotfiles/.config/zsh/shortcuts
parentd24e93fbc4d147627e99ef751b6f945a8924a14f (diff)
downloadswayrice-4213b8745e62801b9926c699edf7ad3ffd94f0b4.tar.gz
swayrice-4213b8745e62801b9926c699edf7ad3ffd94f0b4.zip
menuworkspace script
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 () {