Adapted ZSH config

This commit is contained in:
2018-07-26 08:14:01 +02:00
parent 8654883568
commit 054db1f723
+12 -7
View File
@@ -40,21 +40,26 @@ SAVEHIST=$HISTSIZE
export LC_ALL='en_US.UTF-8' export LC_ALL='en_US.UTF-8'
export WORKON_HOME=~/.virtualenvs export WORKON_HOME=~/.virtualenvs
alias em='emacs -nw' if [[ $(uname) = "Darwin" ]]; then
PATH=$PATH:~/Library/Anaconda/bin
fi
source $DOTCONFDIR/dotconf.sh source $DOTCONFDIR/dotconf.sh
# System specific config # Alias configuration
SYS=`uname`
if [[ $SYS = "Linux" ]]; then alias l='ls -lh --color'
alias em='emacs -nw'
alias ec='emacsclient -c'
if [[ $(uname) = "Linux" ]]; then
alias grep='grep --color' alias grep='grep --color'
alias ls='ls --color' alias ls='ls --color'
alias open='xdg-open' alias open='xdg-open'
alias l='ls -lh --color'
alias ec='emacsclient -c'
fi fi
if [[ $SYS = "Darwin" ]]; then if [[ $(uname) = "Darwin" ]]; then
PATH=$PATH:~/Library/Anaconda/bin PATH=$PATH:~/Library/Anaconda/bin
alias grep='grep --color=always'
fi fi