标签: bash shell
我尝试在bash中创建一个别名,但我无法做到。
alias bundle-vendor= 'bundle install vendor --disable-shared-gems'
答案 0 :(得分:6)
您需要在等号后删除空格。
答案 1 :(得分:1)
在=符号后丢失空格。
答案 2 :(得分:0)
尝试:
alias bundle-vendor='bundle install vendor --disable-shared-gems'
它对我有用。