From a6b198e074f582b9609f83c44d096149d9d9cc95 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 1 May 2011 18:50:00 +0200 Subject: [PATCH] csh/rc: Add, starts zsh. Some system use csh as default shell - start zsh instead. --- csh/rc | 9 +++++++++ setup.sh | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 csh/rc 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 -- 2.45.2