summaryrefslogtreecommitdiffstats
path: root/csh.cshrc
diff options
context:
space:
mode:
Diffstat (limited to 'csh.cshrc')
-rw-r--r--csh.cshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/csh.cshrc b/csh.cshrc
index 6010599..02c8c5c 100644
--- a/csh.cshrc
+++ b/csh.cshrc
@@ -17,6 +17,9 @@ if ($?prompt) then
else
set prompt=\[`id -nu`@`hostname -s`\]\$\
endif
+else
+ # nothing more to do for non-interactive shell
+ goto OUT
endif
test -d /etc/profile.d
@@ -34,3 +37,6 @@ if ($status == 0) then
end
unset i nonomatch
endif
+
+
+OUT: