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 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 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 r='open -a'
alias htop='sudo htop'
@ -15,4 +16,4 @@ alias flushdns='dscacheutil -flushcache && killall -HUP mDNSResponder'
alias pkg_add='brew install'
alias pkg_search='brew search'
alias pkg_remove='brew remove'
alias pkg_upgrade='brew update && brew upgrade && brew cleanup && brew cask cleanup'
alias pkg_upgrade='brew update && brew upgrade && brew cleanup && brew cask cleanup'