Skip to content

Commit

Permalink
./zsh: add $HOST conditinal
Browse files Browse the repository at this point in the history
  • Loading branch information
trapd00r committed Feb 15, 2012
1 parent 97e6a8d commit 5bea471
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion zsh
@@ -1,2 +1,7 @@
#!/bin/zsh
/bin/zsh -c "source /home/scp1/etc/zsh/zshrc; /bin/zsh" "$@"

if [[ $HOST = 'shiva' ]]; then
/bin/zsh -c "source /home/scp1/etc/zsh/zshrc; /bin/zsh" "$@"
else if [[ $HOST = 'rambo' ]]; then
/bin/zsh -c "source /home/scp1/.zshrc; /bin/zsh"
fi

0 comments on commit 5bea471

Please sign in to comment.