From 244069ae023431e13c30ed0f99fb5d044e6be076 Mon Sep 17 00:00:00 2001 From: Amber Date: Thu, 28 Jul 2022 08:42:15 +0200 Subject: [PATCH] nvim alias --- .bashrc | 4 ++++ 1 file changed, 4 insertions(+) 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.