dotfiles

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

commit c85f5cc0c846f594d7ff7588f56fafb19cf196f5
parent 7bf7e39bd863021ec309b871572fc10d3ed20270
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sun, 29 Sep 2019 14:10:54 -0400

commonprofile: changed some aliases

Former-commit-id: 94047a265fa23360e419c48692547ba1ed14ffb6
Diffstat:
Mshell/commonprofile | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/shell/commonprofile b/shell/commonprofile @@ -113,6 +113,7 @@ alias lsblk="lsblk -o NAME,LABEL,PARTLABEL,TYPE,FSTYPE,SIZE,MOUNTPOINT,STATE" alias rmcolors="sed \"s,\x1B\[[0-9;]*[a-zA-Z],,g\"" # Remove ANSI color codes from text alias bc="bc -ql" # Preferred 'bc' implementation alias nls="expr \`ls -l | wc -l | xargs echo\` - 1" # Count the number of files in the directory +alias tree="tree -CAFa -I 'CVS|*.*.package|.svn|.git|node_modules' --dirsfirst" # }}} # Aliases (Mac UI) {{{ @@ -236,7 +237,7 @@ if [ -f ~/.fzf.zsh ] || [ -f ~/.fzf.bash ]; then # script edit se() { local files - IFS=$'\n' files=($(command find "$(readlink ~/.scripts)" -type f | fzf -m --inline-info --prompt="edit> " --height=40 --reverse)) + IFS=$'\n' files=($(command find "$(readlink ~/.scripts)" -type f -not -ipath "*/.git/*" | fzf -m --inline-info --prompt="edit> " --height=40 --reverse)) [[ -n "$files" ]] && ${EDITOR:-vim} "${files[@]}" } # script create @@ -248,7 +249,7 @@ if [ -f ~/.fzf.zsh ] || [ -f ~/.fzf.bash ]; then # config edit ce() { local files - IFS=$'\n' files=($(command find ~/.dotfiles -type f | fzf -m --inline-info --prompt="edit> " --height=40 --reverse)) + IFS=$'\n' files=($(command find ~/.dotfiles -type f -not -ipath "*/.git/*" | fzf -m --inline-info --prompt="edit> " --height=40 --reverse)) [[ -n "$files" ]] && ${EDITOR:-vim} "${files[@]}" } # vim setting edit