SOURCES: csh.cshrc, csh.login - tabs, cosmetics
glen
glen at pld-linux.org
Wed Aug 10 06:39:04 CEST 2005
Author: glen Date: Wed Aug 10 04:39:04 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- tabs, cosmetics
---- Files affected:
SOURCES:
csh.cshrc (1.8 -> 1.9) , csh.login (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SOURCES/csh.cshrc
diff -u SOURCES/csh.cshrc:1.8 SOURCES/csh.cshrc:1.9
--- SOURCES/csh.cshrc:1.8 Wed Aug 10 00:00:57 2005
+++ SOURCES/csh.cshrc Wed Aug 10 06:38:59 2005
@@ -3,23 +3,25 @@
# System wide rc file for (t)csh
if ($?prompt) then
- [ "$SHELL" = /bin/tcsh ]
- if ($status == 0) then
- set prompt='[%n@%m %c]$ '
- else
- set prompt=\[`id -nu`@`hostname -s`\]\$\
- endif
+ [ "$SHELL" = /bin/tcsh ]
+ if ($status == 0) then
+ set prompt='[%n@%m %c]$ '
+ else
+ set prompt=\[`id -nu`@`hostname -s`\]\$\
+ endif
endif
test -d /etc/shrc.d
if ($status == 0) then
set nonomatch
- foreach i ( /etc/shrc.d/*.csh )
- test -f $i
- if ($status == 0) then
- source $i
- endif
- end
- unset i
+ foreach i ( /etc/shrc.d/*.csh )
+ test -f $i
+ if ($status == 0) then
+ source $i
+ endif
+ end
+ unset i
unset nonomatch
endif
+
+# vim:ts=4:tw=4
================================================================
Index: SOURCES/csh.login
diff -u SOURCES/csh.login:1.11 SOURCES/csh.login:1.12
--- SOURCES/csh.login:1.11 Wed Aug 10 00:00:57 2005
+++ SOURCES/csh.login Wed Aug 10 06:38:59 2005
@@ -19,19 +19,18 @@
set autolist
# Key bindings
-bindkey "^R" i-search-back # i-search
-
+bindkey "^R" i-search-back # i-search
foreach i ( /etc/env.d/* )
set NAME=`basename $i`
switch ( $NAME )
- case *~:
- case *.bak:
- case *.rpmnew:
- case *.rpmsave:
+ case *~:
+ case *.bak:
+ case *.rpmnew:
+ case *.rpmsave:
# nothing
breaksw
- default:
+ default:
grep -v "^#" $i | head -n 1 > /dev/null
if ($status == 0) then
set backslash_quote
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/csh.cshrc?r1=1.8&r2=1.9&f=u
http://cvs.pld-linux.org/SOURCES/csh.login?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list