updated bash config

This commit is contained in:
2024-06-20 01:04:06 +10:00
parent f8fb06e74e
commit 6e7ebb6ed7
3 changed files with 115 additions and 0 deletions

21
.bash_aliases Normal file
View File

@@ -0,0 +1,21 @@
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
fi
# some more ls aliases
#alias ll='ls -l'
alias la='ls -A'
#alias l='ls -CF'
alias vim=nvim
alias vi=nvim
alias dotfiles='/usr/bin/git --git-dir=/home/locke/.dotfiles --work-tree=/home/locke'