Added an alias for changing terminal tab name and title.

This commit is contained in:
Christian Busch 2016-04-20 10:52:38 +02:00
parent e15dd52c78
commit 9ddde607d0

View File

@ -8,6 +8,7 @@ alias nmap_localnet='nmap -sP 192.168.1.0/24'
alias sulast='sudo $(history -p !-1)' alias sulast='sudo $(history -p !-1)'
alias whois="whois -h whois-servers.net" alias whois="whois -h whois-servers.net"
alias ltmux="if tmux has-session -t $USER; then tmux attach -t $USER; else tmux new -s $USER; fi" alias ltmux="if tmux has-session -t $USER; then tmux attach -t $USER; else tmux new -s $USER; fi"
alias ltitle='echo -ne "\033]0;$HOST\007"'
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl" alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
alias r='open -a' alias r='open -a'
alias htop='sudo htop' alias htop='sudo htop'