Browse Source

Use $EDITOR

Aleks 9 years ago
parent
commit
9a5e1a0552
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/common-aliases/common-aliases.plugin.zsh

+ 1 - 1
plugins/common-aliases/common-aliases.plugin.zsh

@@ -13,7 +13,7 @@ alias lS='ls -1FSsh'
 alias lart='ls -1Fcart'
 alias lrt='ls -1Fcrt'
 
-alias zshrc='vim ~/.zshrc' # Quick access to the ~/.zshrc file
+alias zshrc='$EDITOR ~/.zshrc' # Quick access to the ~/.zshrc file
 
 alias grep='grep --color'
 alias sgrep='grep -R -n -H -C 5 --exclude-dir={.git,.svn,CVS} '