From 054db1f72365f943549c2814df172d16687b0f19 Mon Sep 17 00:00:00 2001 From: Marcel Schoengens Date: Thu, 26 Jul 2018 08:14:01 +0200 Subject: [PATCH] Adapted ZSH config --- zsh/zshrc | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 2f4b656..4bc169e 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -40,21 +40,26 @@ SAVEHIST=$HISTSIZE export LC_ALL='en_US.UTF-8' export WORKON_HOME=~/.virtualenvs -alias em='emacs -nw' +if [[ $(uname) = "Darwin" ]]; then + PATH=$PATH:~/Library/Anaconda/bin +fi source $DOTCONFDIR/dotconf.sh -# System specific config -SYS=`uname` -if [[ $SYS = "Linux" ]]; then +# Alias configuration + +alias l='ls -lh --color' +alias em='emacs -nw' +alias ec='emacsclient -c' + +if [[ $(uname) = "Linux" ]]; then alias grep='grep --color' alias ls='ls --color' alias open='xdg-open' - alias l='ls -lh --color' - alias ec='emacsclient -c' fi -if [[ $SYS = "Darwin" ]]; then +if [[ $(uname) = "Darwin" ]]; then PATH=$PATH:~/Library/Anaconda/bin + alias grep='grep --color=always' fi