set term title function
This commit is contained in:
@@ -347,3 +347,12 @@ function qbg {
|
||||
# Run a program quiet, and backgrounded
|
||||
"$@" &> /dev/null &
|
||||
}
|
||||
|
||||
function set_term_title {
|
||||
# set term in byobu/screen xterm etc..
|
||||
[ -z "$1" ] && {
|
||||
echo -e '\033k'$HOSTNAME'\033\\'
|
||||
} || {
|
||||
echo -e '\033k'$1'\033\\'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user