From 29ac3fe1350498025685789e626dd2b8832428d2 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 19 Jun 2015 05:04:55 +0300 Subject: [PATCH] .shellrc: minor refactoring --- .shellrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.shellrc b/.shellrc index 38c547e..d2007fa 100644 --- a/.shellrc +++ b/.shellrc @@ -47,7 +47,7 @@ case "$SHELL" in for cmd in builtin cgmem_nice command dbus-launch exec \ killall man nice nohup pidof pidOf KillAll pgrep pkill psg pswg su sudo \ time whence whereis which xargs; do - ! has_completion $cmd && complete -A command -o default $cmd + ! has_completion $cmd && complete -o default -A command $cmd done for cmd in dig host nslookup nc netcat nmap p ping ping6 socat \ @@ -59,7 +59,7 @@ case "$SHELL" in for cmd in distribute ftp lftp r rsync \ s scp ssh smbclient tcpdump tshark wireshark; do - ! has_completion $cmd && complete -A hostname -o default $cmd; + ! has_completion $cmd && complete -o default -A hostname $cmd; done complete -A job bg fg j jobs wait -- 2.39.5