dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit a2654a80884adbe549adeef48e4260e1b46f22a3
parent 2950ef622224df134e53a26e6f27bf5dfe4d4bab
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Wed, 17 Feb 2021 18:13:02 +0100

shell: make ce() exclude scripts

Diffstat:
Mshell/functions | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shell/functions b/shell/functions @@ -109,7 +109,7 @@ if [ -d ~/.config/fzf ]; then # config edit ce() { local files - IFS=$'\n' files=($(command find ~/.dotfiles -type f ! -ipath "*/.git/*" ! -ipath "*/bin/*" ! -ipath "*/oh-my-zsh/*" ! -name ".DS_Store" | fzf -m --inline-info --prompt="edit> " --height=40 --reverse)) + IFS=$'\n' files=($(command find ~/.dotfiles -type f ! -ipath "*/scripts/*" ! -ipath "*/.git/*" ! -ipath "*/bin/*" ! -ipath "*/oh-my-zsh/*" ! -name ".DS_Store" | fzf -m --inline-info --prompt="edit> " --height=40 --reverse)) [[ -n "$files" ]] && ${EDITOR:-vim} "${files[@]}" }