You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom method to set terminal title as below
function title() {
if [[ -z "$ORIG" ]]; then
ORIG=$PS1
fi
TITLE="\[\e]2;$*\a\]"
PS1=${ORIG}${TITLE}
}
this method sets the terminal title. ($ title "my title")
but as in .bashrc file, there is a new line at the end as .~/.fancy-git/prompt.sh and this is preventing to execute that method...
So, may you suggest how to fix this?
The text was updated successfully, but these errors were encountered:
I have a custom method to set terminal title as below
this method sets the terminal title. (
$ title "my title"
)but as in .bashrc file, there is a new line at the end as
.~/.fancy-git/prompt.sh
and this is preventing to execute that method...So, may you suggest how to fix this?
The text was updated successfully, but these errors were encountered: