View | Details | Raw Unified | Return to bug 191759
Collapse All | Expand All

(-).cshrc (-3 / +3 lines)
Lines 9-19 Link Here
9
# has multiple ssh-agent(1) processes running, this will very likely
9
# has multiple ssh-agent(1) processes running, this will very likely
10
# set SSH_AUTH_SOCK to point to the wrong file/domain socket.
10
# set SSH_AUTH_SOCK to point to the wrong file/domain socket.
11
if (${?SSH_AUTH_SOCK} != "1") then
11
if (${?SSH_AUTH_SOCK} != "1") then
12
	setenv SSH_AUTH_SOCK `sockstat -u | awk '/^${USER}.+ ssh-agent/ { print $6 }'
12
	setenv SSH_AUTH_SOCK `sockstat -u | awk '/^${USER}.+ ssh-agent/ { print $6 }'`
13
endif
13
endif
14
14
15
# Change only root's prompt
15
# Change only root's prompt
16
if (`id -g` == 0)
16
if (`id -g` == 0) then
17
	set prompt="root@%m# "
17
	set prompt="root@%m# "
18
endif
18
endif
19
19
Lines 70-76 Link Here
70
      		'n/-*f/f/' \
70
      		'n/-*f/f/' \
71
      		'n/*/f/'
71
      		'n/*/f/'
72
complete ifconfig	'p@1@`ifconfig -l`@' \
72
complete ifconfig	'p@1@`ifconfig -l`@' \
73
      		'n/*/(range phase link netmask mtu vlandev vlan metric mediaopt down delete broadcast arp debug)/'
73
      		'n/*/(range phase link netmask mtu vlandev vlan metric mediaopt down delete broadcast arp debug)/' \
74
      		'c/%/j/' \
74
      		'c/%/j/' \
75
      		'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/'
75
      		'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/'
76
complete kill		'c/-/S/' 'c/%/j/' 'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/'
76
complete kill		'c/-/S/' 'c/%/j/' 'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/'

Return to bug 191759