• Elton Chen-Yu Ho's avatar
    Fix zshrc alias when $EDITOR uses parameters (#6146) · 0d80e9b4
    Elton Chen-Yu Ho authored
    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
    0d80e9b4
common-aliases.plugin.zsh 2.39 KB