2011-02-07 17:42:37 +01:00
|
|
|
# @author Philipp Frischmuth <frischmuth@informatik.uni-leipzig.de>
|
2012-08-22 15:13:04 +02:00
|
|
|
# @author Sebastian Tramp <mail@sebastian.tramp.name>
|
2011-02-07 17:42:37 +01:00
|
|
|
# @license http://opensource.org/licenses/gpl-license.php
|
|
|
|
#
|
|
|
|
# darwin specific fixes / alignments
|
|
|
|
|
2011-02-07 17:18:41 +01:00
|
|
|
# Darwin ls command does not support --color option.
|
2012-07-18 08:05:04 +02:00
|
|
|
alias ls=' ls'
|
2012-08-21 10:31:06 +02:00
|
|
|
#alias myls=' ls'
|
|
|
|
# use gnu ls instead of bsd ls
|
|
|
|
alias myls=' gls -C -F -h --color=always'
|
2011-02-07 17:18:41 +01:00
|
|
|
|
|
|
|
# The OSX way for ls colors.
|
|
|
|
export CLICOLOR=1
|
|
|
|
export LSCOLORS="gxfxcxdxbxegedabagacad"
|
2012-08-21 10:31:06 +02:00
|
|
|
|
2012-08-22 15:13:04 +02:00
|
|
|
# brew install zsh-completions
|
2012-08-22 15:21:22 +02:00
|
|
|
export FPATH=/usr/local/share/zsh-completions:$FPATH
|
2012-08-22 15:13:04 +02:00
|
|
|
|
2012-08-21 10:31:06 +02:00
|
|
|
# activate gls colors
|
2012-08-23 10:39:02 +02:00
|
|
|
export ZSH_DIRCOLORS="$ZSH_CONFIG/dircolors-solarized/dircolors.256dark"
|
|
|
|
if [[ -a $ZSH_DIRCOLORS ]]; then
|
2012-08-21 10:31:06 +02:00
|
|
|
if [[ "$TERM" == *256* ]]; then
|
2012-08-23 10:39:02 +02:00
|
|
|
which gdircolors > /dev/null && eval "`gdircolors -b $ZSH_DIRCOLORS`"
|
2012-08-21 10:31:06 +02:00
|
|
|
else
|
|
|
|
# standard colors for non-256-color terms
|
|
|
|
which gdircolors > /dev/null && eval "`gdircolors -b`"
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
which gdircolors > /dev/null && eval "`gdircolors -b`"
|
|
|
|
fi
|