Add a few more examples

Submitted by:	jmallett
Approved by:	cperciva (implicit)
MFC after:	3 days
X-MFC-With:	r233429
This commit is contained in:
Eitan Adler 2012-03-24 23:10:18 +00:00
parent d456d3e31f
commit 66c1ef4a26
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233437

View File

@ -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