Commit dfeffefd authored by nimrod's avatar nimrod
Browse files

Replace wb shell alias with function.

With the alias the notification show the whole command when it exits
(and I just want wb in the notification).
parent 4efc8d40
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -143,7 +143,6 @@ alias toupper='awk "{print toupper(\$0)}"'
alias transmission-remote='forward kodi.shore.co.il 9091:localhost:9091 && transmission-remote'
alias unssh="ssh -o \"UserKnownHostsFile /dev/null\" -o \"StrictHostKeyChecking no\""
alias update-requirements='find -name "*requirements*.txt" -exec pur --requirement {} \;'
alias wb="ssh -t workbench.shore.co.il 'if tmux ls >/dev/null 2>&1; then tmux a; else tmux; fi;'"
alias wifi-portal='curl --silent --fail --write-out "%{redirect_url}" --output /dev/null http://detectportal.firefox.com/success.txt'
alias xargs="xargs "

@@ -308,6 +307,10 @@ toux () {
    chmod +x "$@"
}

wb () {
    ssh -t workbench.shore.co.il 'if tmux ls >/dev/null 2>&1; then tmux a; else tmux; fi;'
}

yellow () {
    printf '\e[1;93m' || true
    echo "$@"