! has_completion $cmd && complete -o default -A command $cmd
done
- for cmd in dig host mtr nslookup nc netcat nmap p ping ping6 socat \
- telnet t tt \
+ for cmd in dig host mtr nslookup nc netcat nmap p ping ping6 \
+ ssh2 s2 socat telnet t tt \
tcptraceroute tcptraceroute6 tracert tracert6 traceroute traceroute6 \
whois wd wget wget-download wget-m wget-wrapper ww; do
! has_completion $cmd && complete -A hostname $cmd
OPS1+="\$(prompt_git)"
fi
fi
- OPS1+=" \\$\$SHLVL "
+ OPS1+=" \$SHLVL\\$ "
else
- OPS1="\u@\h:\W \\$"
+ OPS1="\u@\h:\W \$SHLVL\\$ "
fi
fi