From: Simon Ruderich Date: Sun, 1 May 2011 16:50:00 +0000 (+0200) Subject: csh/rc: Add, starts zsh. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=a6b198e074f582b9609f83c44d096149d9d9cc95;p=config%2Fdotfiles.git csh/rc: Add, starts zsh. Some system use csh as default shell - start zsh instead. --- diff --git a/csh/rc b/csh/rc new file mode 100644 index 0000000..f2f01a7 --- /dev/null +++ b/csh/rc @@ -0,0 +1,9 @@ +# Csh configuration file. + + +# Start Zsh in interactive mode, otherwise do nothing. +if ($?prompt) then + exec zsh +endif + +# vim: ft=csh diff --git a/setup.sh b/setup.sh index 9137fa6..761e4bc 100755 --- a/setup.sh +++ b/setup.sh @@ -47,6 +47,9 @@ link bash ~/.bash link bash/rc ~/.bashrc link bash/profile ~/.bash_profile link bash/logout ~/.bash_logout +if installed csh; then + link csh/rc ~/.cshrc +fi link zsh ~/.zsh link zsh/env ~/.zshenv link zsh/rc ~/.zshrc