diff --git a/.bashrc b/.bashrc index a705139..7c04d76 100644 --- a/.bashrc +++ b/.bashrc @@ -109,6 +109,8 @@ alias rm='rm -I' # vim alias alias vim='vim -p' +# it depends where you have installed nvim +alias nvim='~/nvim-linux64/bin/nvim -p' # vim alias alias wgetpage='wget --recursive --page-requisites --html-extension --convert-links' @@ -120,6 +122,8 @@ alias lpsql='psql --host=192.168.1.253 -d foo -U foo -W' # sleep 10; alert 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$//'\'')"' +alias errecho='echo $1 1>&2' + # Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly.