Skip to content

Commit

Permalink
Set window title in bash prompt
Browse files Browse the repository at this point in the history
Mimics what it's set to in zsh.
  • Loading branch information
scop authored and frenck committed Sep 15, 2022
1 parent e41b625 commit 0020682
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ssh/rootfs/etc/profile.d/hassio.sh
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export PS1="\W \$ "
export PS1='\W $ '
case "${TERM-}" in
rxvt*|vte*|xterm*) PS1='\[\e]0;\u@\h:\w\a\]'"$PS1" ;;
esac

0 comments on commit 0020682

Please sign in to comment.