summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc14
1 files changed, 8 insertions, 6 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index cedf300..d213e42 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -31,7 +31,6 @@ _HOST_TYPE=$(uname)
HOSTNAME=$(hostname -f 2>/dev/null)
if [[ $? == 0 ]]; then
- echo "X"
else
HOSTNAME=$(hostname)
fi
@@ -306,6 +305,7 @@ case $_HOST_TYPE in
;;
Linux)
alias ls='ls -h --color=auto'
+ export LD_LIBRARY_PATH=$HOME/.local/lib:$HOME/.local/lib64:$LD_LIBRARY_PATH
;;
esac
@@ -371,9 +371,11 @@ if [[ $_HOST_TYPE == "Linux" ]]; then
alias lpimg='/usr/bin/lp -o fit-to-page'
fi
-if [[ $(hostname) == "barkley" ]]; then
- if [[ -f $HOME/.files/zsh/.zshrc.work ]]; then
- source $HOME/.files/zsh/.zshrc.work
- fi
-fi
+case $HOSTNAME in
+ barkley*)
+ if [[ -f $HOME/.files/zsh/.zshrc.work ]]; then
+ source $HOME/.files/zsh/.zshrc.work
+ fi
+ ;;
+esac