diff options
author | Elton Chen-Yu Ho <b01505026@ntu.edu.tw> | 2018-06-19 04:12:07 +0800 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-06-18 22:12:07 +0200 |
commit | 0d80e9b4ee4925da24f5c2ef9082f6660d983113 (patch) | |
tree | 16c90cc4a8b0df4a7b24bece8e031fccf924ffc3 /tools | |
parent | 48e2c828ef3d60750d157f388830d639c9b2e0bc (diff) | |
download | zsh-0d80e9b4ee4925da24f5c2ef9082f6660d983113.tar.gz zsh-0d80e9b4ee4925da24f5c2ef9082f6660d983113.tar.bz2 zsh-0d80e9b4ee4925da24f5c2ef9082f6660d983113.zip |
Fix zshrc alias when $EDITOR uses parameters (#6146)
According to #5003
if one exports EDITOR with parameters, say:
`export EDITOR='subl -w'`
running command:
`zshrc`
will result in:
`zsh: command not found: subl -w`
This can be fixed by updating common-aliases.plugin.zsh line 16 with:
`alias zshrc='${=EDITOR} ~/.zshrc' # Quick access to the ~/.zshrc file`
Fixes #5003
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions