Make default editor more generic and map n and v for nano and vim to $EDITOR
This commit is contained in:
parent
22408b662e
commit
1e7bce189a
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ alias ls="ls --color -F"
|
||||||
alias ll="ls --color -lh -a"
|
alias ll="ls --color -lh -a"
|
||||||
alias ll-octal-dir='stat -c "%a %n" *'
|
alias ll-octal-dir='stat -c "%a %n" *'
|
||||||
alias ip='ip -c'
|
alias ip='ip -c'
|
||||||
alias n="nano"
|
alias n="$EDITOR"
|
||||||
|
alias v="$EDITOR"
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
alias egrep='egrep --color=auto'
|
alias egrep='egrep --color=auto'
|
||||||
|
|
Loading…
Reference in a new issue