From a9ee9983b3510d9c2f7b38aeb5abdebd43b60ae2 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Thu, 22 Jul 2021 17:34:09 +0200 Subject: [PATCH] bash: remove unused shell aliases and functions --- files/bashrc | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/files/bashrc b/files/bashrc index 3dcf104..bcafd19 100644 --- a/files/bashrc +++ b/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