Commit 5442cbfb authored by Hermann Mayer's avatar Hermann Mayer

BashRC: Added the x alias.

parent 03c24ee8
......@@ -4,4 +4,3 @@ function o()
{
xdg-open $1
}
......@@ -26,6 +26,7 @@ alias p='pwd'
alias mkdir='mkdir -p -v'
alias openports='netstat --all --numeric --programs --inet --inet6 | tail -n +3 | rev | sort -k 1,1 | rev'
alias less='less -R'
alias x='exit'
complete -W "$(cat "${HOME}/.bash_history" | egrep '^ssh |^scp ' | grep '\.' | egrep '^[^0-9]' | sort | uniq | sed 's/^ssh //' | sed 's/ $//g' | sed 's/^/\"/' | sed 's/$/\"/');" ssh
complete -W "$(cat "${HOME}/.bash_history" | egrep '^ssh |^scp ' | grep '\.' | egrep '^[^0-9]' | sort | uniq | sed 's/^ssh //' | sed 's/ $//g' | sed 's/^/\"/' | sed 's/$/\"/');" scp
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment