1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,17 @@ |
1 |
+alias grep='grep --color=auto' |
|
2 |
+alias egrep='egrep --color=auto' |
|
3 |
+alias fgrep='fgrep --color=auto' |
|
4 |
+alias ls='ls -vh --color=auto' |
|
5 |
+alias ll='ls -vhl --color=auto' |
|
6 |
+alias la='ls -vhla --color=auto' |
|
7 |
+ |
|
8 |
+# Set `LS_COLORS`, which is used by `ls` and other programs. |
|
9 |
+if [ "$(command -v dircolors)" ] |
|
10 |
+then |
|
11 |
+ if [ -r ~'/.dircolors' ] |
|
12 |
+ then |
|
13 |
+ eval "$(dircolors ~'/.dircolors')" |
|
14 |
+ else |
|
15 |
+ eval "$(dircolors)" |
|
16 |
+ fi |
|
17 |
+fi |