diff options
author | Peter | 2022-04-19 15:09:46 +0100 |
---|---|---|
committer | Peter | 2022-04-19 15:09:46 +0100 |
commit | 4f23a11ea6ca31b3e6f2aa2b6c2227d76a42ca62 (patch) | |
tree | 5bccec4df2b942d9478e64d615ff86ff8ccfde55 | |
parent | fef8a7aebc165c8bf3777c7283f2a045a25ac22e (diff) | |
download | dotfiles-4f23a11ea6ca31b3e6f2aa2b6c2227d76a42ca62.tar.gz dotfiles-4f23a11ea6ca31b3e6f2aa2b6c2227d76a42ca62.tar.bz2 dotfiles-4f23a11ea6ca31b3e6f2aa2b6c2227d76a42ca62.zip |
Ignore dotfiles when editing vault
-rw-r--r-- | .config/fish/config.fish | 2 |
1 files changed, 1 insertions, 1 deletions
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 |