[Midnightbsd-cvs] src [11828] trunk/share/examples/csh/dot.cshrc: update example
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Jul 12 20:04:52 EDT 2018
Revision: 11828
http://svnweb.midnightbsd.org/src/?rev=11828
Author: laffer1
Date: 2018-07-12 20:04:51 -0400 (Thu, 12 Jul 2018)
Log Message:
-----------
update example
Modified Paths:
--------------
trunk/share/examples/csh/dot.cshrc
Property Changed:
----------------
trunk/share/examples/csh/dot.cshrc
Modified: trunk/share/examples/csh/dot.cshrc
===================================================================
--- trunk/share/examples/csh/dot.cshrc 2018-07-13 00:03:31 UTC (rev 11827)
+++ trunk/share/examples/csh/dot.cshrc 2018-07-13 00:04:51 UTC (rev 11828)
@@ -1,7 +1,7 @@
# Here are some example (t)csh options and configurations that you may find interesting
#
+# $FreeBSD: stable/10/share/examples/csh/dot.cshrc 285448 2015-07-13 12:04:40Z brueffer $
# $MidnightBSD$
-#
# Sets SSH_AUTH_SOCK to the user's ssh-agent socket path if running
#
@@ -9,11 +9,11 @@
# has multiple ssh-agent(1) processes running, this will very likely
# set SSH_AUTH_SOCK to point to the wrong file/domain socket.
if (${?SSH_AUTH_SOCK} != "1") then
- setenv SSH_AUTH_SOCK `sockstat -u | awk '/^${USER}.+ ssh-agent/ { print $6 }'
+ setenv SSH_AUTH_SOCK `sockstat -u | awk '/^${USER}.+ ssh-agent/ { print $6 }'`
endif
# Change only root's prompt
-if (`id -g` == 0)
+if (`id -g` == 0) then
set prompt="root@%m# "
endif
@@ -70,7 +70,7 @@
'n/-*f/f/' \
'n/*/f/'
complete ifconfig 'p at 1@`ifconfig -l`@' \
- 'n/*/(range phase link netmask mtu vlandev vlan metric mediaopt down delete broadcast arp debug)/'
+ 'n/*/(range phase link netmask mtu vlandev vlan metric mediaopt down delete broadcast arp debug)/' \
'c/%/j/' \
'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/'
complete kill 'c/-/S/' 'c/%/j/' 'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/'
Property changes on: trunk/share/examples/csh/dot.cshrc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list