diff options
author | brueffer <brueffer@FreeBSD.org> | 2015-07-13 12:04:40 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2015-07-13 12:04:40 +0000 |
commit | dffad8730acfc755ec93926f2113f9092cf9937a (patch) | |
tree | e75a47e64bbe2afa8bb53bc209875c80ef731d74 | |
parent | c846b28e604ba83a68fe804104922daa0d814113 (diff) | |
download | FreeBSD-src-dffad8730acfc755ec93926f2113f9092cf9937a.zip FreeBSD-src-dffad8730acfc755ec93926f2113f9092cf9937a.tar.gz |
MFC: r284929
Fix issues that kept some of the examples from actually working.
PR: 144534
Submitted by: Nicolas Edel
Approved by: re (gjb)
-rw-r--r-- | share/examples/csh/dot.cshrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/examples/csh/dot.cshrc b/share/examples/csh/dot.cshrc index c85e4b1..e9f0b38 100644 --- a/share/examples/csh/dot.cshrc +++ b/share/examples/csh/dot.cshrc @@ -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 @@ complete grep 'c/-*A/x:<#_lines_after>/' \ 'n/-*f/f/' \ 'n/*/f/' complete ifconfig 'p@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}'"'"'`/' |