From bb9cc48de7f0c9e1a127b0e13772f5257bc58ae1 Mon Sep 17 00:00:00 2001 From: Carlos Cardoso Date: Fri, 15 Nov 2013 13:02:46 -0200 Subject: [PATCH] custom linux changes. --- plugins/tmux/tmux.plugin.zsh | 2 +- templates/zshrc-linux.zsh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh index 3ecc2ac69..31142c723 100644 --- a/plugins/tmux/tmux.plugin.zsh +++ b/plugins/tmux/tmux.plugin.zsh @@ -38,7 +38,7 @@ if which tmux &> /dev/null fi # Set the correct local config file to use. - if [[ "$ZSH_TMUX_ITERM2" == "false" ]] && (( [[ -f $HOME/.tmux.conf ]] || -h $HOME/.tmux.conf ]] )) + if [[ "$ZSH_TMUX_ITERM2" == "false" ]] && [[ -f $HOME/.tmux.conf ]] then #use this when they have a ~/.tmux.conf export _ZSH_TMUX_FIXED_CONFIG="$zsh_tmux_plugin_path/tmux.extra.conf" diff --git a/templates/zshrc-linux.zsh b/templates/zshrc-linux.zsh index 0a1e264b7..7807cb9ad 100644 --- a/templates/zshrc-linux.zsh +++ b/templates/zshrc-linux.zsh @@ -42,6 +42,7 @@ if [ -z "$LC_ALL" ]; then export LC_ALL=en_US.UTF-8; fi if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi if [ -e $HOME/bin ]; then export PATH="$HOME/bin:$PATH"; fi +if [ -e $HOME/.cabal/bin ]; then export PATH="$HOME/.cabal/bin:$PATH"; fi unsetopt correctall [ "$TERM" = "xterm" ] && TERM="xterm-256color"