.zshrc config file syntax error

前端 未结 1 1882
被撕碎了的回忆
被撕碎了的回忆 2021-01-13 02:28

I\'m getting a syntax error somewhere in my .zshrc file and I can\'t seem to find it.

I\'m getting this error message:

.zshrc:49: bad assignment


        
相关标签:
1条回答
  • 2021-01-13 03:24

    Remove the spaces from your alias command. The correct syntax is

    eeyore% alias g2sites = "cd /Users/MYNAME/Dropbox/Development"
    zsh: bad assignment
    eeyore% alias g2sites="cd /Users/MYNAME/Dropbox/Development" 
    eeyore% 
    
    0 讨论(0)
提交回复
热议问题