From 4f23a11ea6ca31b3e6f2aa2b6c2227d76a42ca62 Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 19 Apr 2022 15:09:46 +0100 Subject: Ignore dotfiles when editing vault --- .config/fish/config.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 607a354..d245421 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -37,7 +37,7 @@ alias empties='find . -maxdepth 3 -mount -not -path "*/\.*" -empty' alias mpv-hdmi='mpv --fs --volume=100 --audio-device=alsa/hdmi:CARD=PCH,DEV=0' alias screenoff='sleep 0.5s && pkill -USR1 swayidle' alias todo='find "$SYNCDIR" -maxdepth 3 -type f -name 'todo.txt' -exec $EDITOR {} \;' -alias vaultedit='find "$SYNCDIR" -maxdepth 5 -type f | fzf --preview "cat {}" --layout reverse | xargs -r -I{} "$EDITOR" "{}"' +alias vaultedit='find "$SYNCDIR" -maxdepth 5 -type f -not -path "*/\.*" | fzf --preview "cat {}" --layout reverse | xargs -r -I{} "$EDITOR" "{}"' # Functions function backup; tar -zcvf (basename $argv)_backup-(date +%F-%H%M%S).tar.gz $argv ; end -- cgit v1.2.3