[23376] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23030 - in trunk/debathena/debathena/dotfiles: . debian

daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Wed Jun 18 13:51:18 2008

Date: Wed, 18 Jun 2008 13:50:47 -0400 (EDT)
From: ghudson@MIT.EDU
Message-Id: <200806181750.NAA28649@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: ghudson
Date: 2008-06-18 13:50:45 -0400 (Wed, 18 Jun 2008)
New Revision: 23030

Modified:
   trunk/debathena/debathena/dotfiles/bash_login
   trunk/debathena/debathena/dotfiles/bashrc
   trunk/debathena/debathena/dotfiles/cshrc
   trunk/debathena/debathena/dotfiles/debian/changelog
Log:
In dotfiles:
  * Restore the cdpath and prompt customizations for tcsh.
  * Eliminate the noclobber and ignoreeof customizations for bash.
  * Add /sbin and /usr/sbin to the path for both shell types.


Modified: trunk/debathena/debathena/dotfiles/bash_login
===================================================================
--- trunk/debathena/debathena/dotfiles/bash_login	2008-06-17 03:45:22 UTC (rev 23029)
+++ trunk/debathena/debathena/dotfiles/bash_login	2008-06-18 17:50:45 UTC (rev 23030)
@@ -64,7 +64,6 @@
 	if [ "${verbose_login+set}" = set ]; then
 		 echo "Running standard startup activities ..."
 	fi
-	IGNOREEOF=			# ^D won't log you out
 	$ZEPHYR_CLIENT			# Start Zephyr client
 	get_message -new -login		# Display current motd
 	mailquota -n			# Check quota on post office server

Modified: trunk/debathena/debathena/dotfiles/bashrc
===================================================================
--- trunk/debathena/debathena/dotfiles/bashrc	2008-06-17 03:45:22 UTC (rev 23029)
+++ trunk/debathena/debathena/dotfiles/bashrc	2008-06-18 17:50:45 UTC (rev 23030)
@@ -78,6 +78,11 @@
 	fi
 	unset x
 
+	# Although it's contrary to theory, there is useful stuff in
+	# /sbin and /usr/sbin, and we've traditionally had it in the
+	# default path.
+	PATH=${PATH}:/sbin:/usr/sbin
+
 	# Run user environment customizations identified in your
 	# ~/.bash_environment file.  This is the place to include your
 	# own environment variables, attach commands, and other system
@@ -91,9 +96,9 @@
 		. ~/.bash_environment
 	fi
 
-	# Standard Athena path modifications
+	# If the user has a bindir in $HOME, put it in front of the path.
 	athena_home_bin=$( /usr/bin/athdir "$HOME" )
-	PATH=${athena_home_bin:+$athena_home_bin:}$PATH:.
+	PATH=${athena_home_bin:+$athena_home_bin:}$PATH
 	unset athena_home_bin
 
 fi
@@ -103,8 +108,6 @@
 
 # Set up standard bash shell initializations
 
-set -o noclobber		# Don't overwrite files with redirection
-
 #   alias for re-establishing authentication
 renew () { kinit -54 $USER && fsid -a && zctl load /dev/null ; }
 

Modified: trunk/debathena/debathena/dotfiles/cshrc
===================================================================
--- trunk/debathena/debathena/dotfiles/cshrc	2008-06-17 03:45:22 UTC (rev 23029)
+++ trunk/debathena/debathena/dotfiles/cshrc	2008-06-18 17:50:45 UTC (rev 23030)
@@ -83,6 +83,10 @@
   endif
   unset x
 
+  # Although it's contrary to theory, there is useful stuff in /sbin
+  # and /usr/sbin, and we've traditionally had it in the default path.
+  set path = ( $path /sbin /usr/sbin )
+
   # Run user environment customizations identified in your
   # ~/.environment file.  This is the place to include your own
   # environment variables, attach commands, and other system wide
@@ -118,6 +122,8 @@
 if ($?prompt) then		# For interactive shells only (i.e., NOT rsh):
   # Set prompt.
   set promptchars="%#"
+  set prompt = "athena%# "
+  set cdpath = (~)
   set interactive		#   Provide shell variable for compatability
 endif
 

Modified: trunk/debathena/debathena/dotfiles/debian/changelog
===================================================================
--- trunk/debathena/debathena/dotfiles/debian/changelog	2008-06-17 03:45:22 UTC (rev 23029)
+++ trunk/debathena/debathena/dotfiles/debian/changelog	2008-06-18 17:50:45 UTC (rev 23030)
@@ -1,3 +1,11 @@
+debathena-dotfiles (10.0.3-0debathena1) unstable; urgency=low
+
+  * Restore the cdpath and prompt customizations for tcsh.
+  * Eliminate the noclobber and ignoreeof customizations for bash.
+  * Add /sbin and /usr/sbin to the path for both shell types.
+
+ -- Greg Hudson <ghudson@mit.edu>  Wed, 18 Jun 2008 12:20:03 -0400
+
 debathena-dotfiles (10.0.2-0debathena3) unstable; urgency=low
 
   * quotawarn belongs in the xsession integration package; remove it.


home help back first fref pref prev next nref lref last post