25 lines
413 B
Markdown
25 lines
413 B
Markdown
|
# Zsh 的配置
|
||
|
|
||
|
```bash
|
||
|
vim ~/.zshrc
|
||
|
```
|
||
|
|
||
|
添加如下内容:
|
||
|
|
||
|
```bash
|
||
|
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
|
||
|
```
|