]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
csh/rc: Start zsh as login shell.
authorSimon Ruderich <simon@ruderich.org>
Wed, 16 Nov 2011 12:36:15 +0000 (13:36 +0100)
committerSimon Ruderich <simon@ruderich.org>
Wed, 16 Nov 2011 12:36:15 +0000 (13:36 +0100)
csh/rc

diff --git a/csh/rc b/csh/rc
index f2f01a7ce3b0a9dfd66d8fc3fd5ce63aa3a6eb80..543b053c674e65029d13ab095278e292e5643f11 100644 (file)
--- a/csh/rc
+++ b/csh/rc
@@ -1,9 +1,10 @@
 # Csh configuration file.
 
 
-# Start Zsh in interactive mode, otherwise do nothing.
+# Start Zsh in interactive login mode, otherwise do nothing. -l is used so Zsh
+# sources .zlogin and .zlogout.
 if ($?prompt) then
-    exec zsh
+    exec zsh -l
 endif
 
 # vim: ft=csh