Update bash.bashrc

tn() bash function to change the name of a terminal
This commit is contained in:
robin 2024-09-13 08:08:56 +00:00
parent 1c23b53add
commit 7859bfab0d

View File

@ -10,6 +10,11 @@ esac
export EDITOR=vi
# Macro for terminal/tab name i.e. $ tn "NameOfTab"
tn() {
echo -ne "\033]0;$1\007"
}
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth