dotfiles

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

commit 1debce2542367367b9f56e07289c3815292cfa98
parent f5891d960c5f65b8bbc925175bfcfb70a4d084d9
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Mon, 27 Jan 2020 23:55:58 +0100

shell: modified ce function to exclude some dotfile paths

Former-commit-id: 8925196133b459e65fffe57603adfe1877f0b303
Diffstat:
Mshell/functions | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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