5d214af6d2259842c8c56b0220b99f68d26c9981

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #3858 from muchweb/muchweb-patch-1-editor

Use $EDITOR

Diff

 1diff --git a/plugins/common-aliases/common-aliases.plugin.zsh b/plugins/common-aliases/common-aliases.plugin.zsh
 2index e3830adcf9566f5bc6c944dd3d022a6a35707cc5..fc19d73c3e47026ca15de74c6e1e95da1b126a54 100644
 3--- a/plugins/common-aliases/common-aliases.plugin.zsh
 4+++ b/plugins/common-aliases/common-aliases.plugin.zsh
 5@@ -13,7 +13,7 @@ alias lS='ls -1FSsh'
 6 alias lart='ls -1Fcart'
 7 alias lrt='ls -1Fcrt'
 8 
 9-alias zshrc='vim ~/.zshrc' # Quick access to the ~/.zshrc file
10+alias zshrc='$EDITOR ~/.zshrc' # Quick access to the ~/.zshrc file
11 
12 alias grep='grep --color'
13 alias sgrep='grep -R -n -H -C 5 --exclude-dir={.git,.svn,CVS} '