summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-03-24 23:10:18 +0000
committereadler <eadler@FreeBSD.org>2012-03-24 23:10:18 +0000
commitdfeac3e82445b83c514221770b5f546e26f11219 (patch)
tree2a55b87b0ffcf34031bbe70c48a52532532982fe /share
parent30ea2f9f8629b61aa7e750ff6012a54b9912b1a8 (diff)
downloadFreeBSD-src-dfeac3e82445b83c514221770b5f546e26f11219.zip
FreeBSD-src-dfeac3e82445b83c514221770b5f546e26f11219.tar.gz
Add a few more examples
Submitted by: jmallett Approved by: cperciva (implicit) MFC after: 3 days X-MFC-With: r233429
Diffstat (limited to 'share')
-rw-r--r--share/examples/csh/dot.cshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/examples/csh/dot.cshrc b/share/examples/csh/dot.cshrc
index ef72ce7..2cb4257 100644
--- a/share/examples/csh/dot.cshrc
+++ b/share/examples/csh/dot.cshrc
@@ -32,6 +32,7 @@ complete pkg_delete 'c/-/(i v D n p d f G x X r)/' 'n@*@`ls /var/db/pkg`@'
complete pkg_info 'c/-/(a b v p q Q c d D f g i I j k K r R m L s o G O x X e E l t V P)/' 'n@*@`\ls -1 /var/db/pkg | sed svar/db/pkg/%%`@"
complete kill 'c/-/S/' 'c/%/j/' 'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/'
complete killall 'c/-/S/' 'c/%/j/' 'n/*/`ps -ax | awk '"'"'{print $5}'"'"'`/'
+complete dd 'c/[io]f=/f/ n/*/"(if of ibs obs bs skip seek count)"/='
alias _PKGS_PkGs_PoRtS_ 'awk -F\| \{sub\(\"\/usr\/ports\/\"\,\"\"\,\$2\)\;print\ \$2\} /usr/ports/INDEX-name -r | cut -d . -f 1A
alias _PKGS_PkGs_PoRtS_ 'awk -F\| \{sub\(\"\/usr\/ports\/\"\,\"\"\,\$2\)\;print\ \$2\} /usr/ports/INDEX-`uname -r | cut -d . -f 1`&& pkg_info -E \*'
complete portmaster 'c/--/(always-fetch check-depends check-port-dbdir clean-distfiles \
@@ -56,5 +57,8 @@ set ellipsis
alias ll ls -lAhG
alias ls ls -G
+# Color on many system utilities
+setenv CLICOLOR 1
+
# other autolist options
set autolist = TAB
OpenPOWER on IntegriCloud