NotePublic/Software/Applications/Zsh/Zsh_的配置.md

413 B

Zsh 的配置

vim ~/.zshrc

添加如下内容:

alias ls='ls --color=auto'
alias dir='dir --color=auto'
alias vidr='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

export GOPATH=/Path/to/Go
export GOBIN=$GOPATH/bin
export PATH=$GOBIN:$PATH