commit 5a2eb0479d28d077e782abb8c6c47a7facbc1b84 parent 57ce07673336788bbe2eee12397938348f52c019 Author: Ed van Bruggen <edvb54@gmail.com> Date: Sun, 9 Nov 2014 17:20:36 -0800 Bash: Clean up bash aliases Diffstat:
bashrc | | | 12 | ++++-------- |
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/bashrc b/bashrc @@ -94,9 +94,7 @@ if [ -x /usr/bin/dircolors ]; then alias grep='grep --color=auto' fi -# shortcuts -alias sb='source ~/.bashrc' -alias r='reset' +# easily change back directories alias ..='cd ..' alias ...='cd ../..' alias ....='cd ../../..' @@ -111,11 +109,9 @@ alias cp='cp -i' alias ln='ln -i' alias rm='rm -i' -# other -alias v='xmodmap ~/.vim-keys.xmodmap' -alias emacs='emacs -nw' -alias vless='vim -u /usr/share/vim/vim74/macros/less.vim' -alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' +# shortcuts +alias sb='source ~/.bashrc' +alias emacs='emacs --no-window-system' alias t='todoium' # mkdir and cd in one command