bash: remove unused shell aliases and functions
This commit is contained in:
parent
e44b318e61
commit
a9ee9983b3
1 changed files with 1 additions and 12 deletions
13
files/bashrc
13
files/bashrc
|
@ -168,10 +168,6 @@ fi
|
|||
alias ll="ls -l"
|
||||
alias lla="la -l"
|
||||
|
||||
alias g='git'
|
||||
alias v='nvim'
|
||||
alias vim='nvim'
|
||||
|
||||
alias grep="grep --color=auto"
|
||||
alias egrep="egrep --color=auto"
|
||||
alias fgrep="fgrep --color=auto"
|
||||
|
@ -179,12 +175,6 @@ alias fgrep="fgrep --color=auto"
|
|||
alias dark='change_bg dark'
|
||||
alias light='change_bg light'
|
||||
|
||||
##############################################################################
|
||||
# Add shell functions
|
||||
##############################################################################
|
||||
|
||||
mkcd() { mkdir -p -- "$1" && cd -P -- "$1" || return; }
|
||||
|
||||
##############################################################################
|
||||
# Run external customizations
|
||||
##############################################################################
|
||||
|
@ -198,6 +188,5 @@ _source_extra_configs() {
|
|||
local f
|
||||
for f in ${configs[@]}; do [ -f "$f" ] && source "$f"; done
|
||||
}
|
||||
_source_extra_configs
|
||||
_source_extra_configs || true
|
||||
|
||||
true
|
||||
|
|
Loading…
Add table
Reference in a new issue