Make default editor more generic and map n and v for nano and vim to $EDITOR

This commit is contained in:
Alexander Schäferdiek 2021-05-24 00:58:22 +02:00
parent 22408b662e
commit 1e7bce189a

View file

@ -29,7 +29,8 @@ alias ls="ls --color -F"
alias ll="ls --color -lh -a"
alias ll-octal-dir='stat -c "%a %n" *'
alias ip='ip -c'
alias n="nano"
alias n="$EDITOR"
alias v="$EDITOR"
alias ..='cd ..'
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'