From 4213b8745e62801b9926c699edf7ad3ffd94f0b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
 <yps@yaroslavps.com>
Date: Thu, 7 Oct 2021 14:40:43 +0300
Subject: menuworkspace script

---
 dotfiles/.config/zsh/shortcuts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'dotfiles/.config/zsh')

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 () {
-- 
cgit v1.2.3