Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
bbef2db9
Commit
bbef2db9
authored
Nov 05, 2009
by
Toon Claes
Browse files
parse error fix
parent
08fcf7dc
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/appearance.zsh
View file @
bbef2db9
...
@@ -4,7 +4,8 @@ export LSCOLORS="Gxfxcxdxbxegedabagacad"
...
@@ -4,7 +4,8 @@ export LSCOLORS="Gxfxcxdxbxegedabagacad"
#export LS_COLORS
#export LS_COLORS
# Enable ls colors
# Enable ls colors
if
[
"
$DISABLE_LS_COLORS
"
!=
"true"
]
then
if
[
"
$DISABLE_LS_COLORS
"
!=
"true"
]
then
# Find the option for using colors in ls, depending on the version: Linux or BSD
# Find the option for using colors in ls, depending on the version: Linux or BSD
ls
--color
-d
.
&>/dev/null 2>&1
&&
alias ls
=
'ls --color=tty'
||
alias ls
=
'ls -G'
ls
--color
-d
.
&>/dev/null 2>&1
&&
alias ls
=
'ls --color=tty'
||
alias ls
=
'ls -G'
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment