补充 bash 中 alias 配置。

Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
ithink.chan 2019-07-31 18:16:26 +08:00
parent ce656255c4
commit b2cf8be4c7
1 changed files with 17 additions and 0 deletions

View File

@ -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'
```