补充 bash 中 alias 配置。
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
ce656255c4
commit
b2cf8be4c7
|
@ -253,3 +253,20 @@ pacman -S virtualbox-guest-utils
|
|||
gpasswd --add <user name> dialout
|
||||
groups <user name>
|
||||
```
|
||||
|
||||
## 配置 Bash
|
||||
|
||||
在 ~/.bash_profile 中增加
|
||||
|
||||
```sh
|
||||
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'
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue