From b2cf8be4c7585685564766e9e3204f191373fcc0 Mon Sep 17 00:00:00 2001 From: "ithink.chan" Date: Wed, 31 Jul 2019 18:16:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=20bash=20=E4=B8=AD=20alias?= =?UTF-8?q?=20=E9=85=8D=E7=BD=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ithink.chan --- .../Linux/Manjaro/Manjaro_初始配置.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md b/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md index 46977d5..d6f82bc 100644 --- a/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md +++ b/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md @@ -253,3 +253,20 @@ pacman -S virtualbox-guest-utils gpasswd --add dialout groups ``` + +## 配置 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' +```