
我在文件中設定了一些別名.bashrc
,如下所示:
alias ras='rails server'
alias res='redis-server'
alias rc='rails console'
alias be='bundle exec'
# git alias's are as follows
alias gs='git status'
alias gc='git commit'
alias go='git checkout'
alias ga='git add -p'
但是當我嘗試它們時,gs
打開 Ghostscript,然後go master
返回
:~/Work/boogle[master]$ go master
The program 'go' is currently not installed. You can install it by typing:
sudo apt-get install golang-go
我正在使用 Ubuntu 12.04 LTS。如何讓我的別名發揮作用?