diff options
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -6,3 +6,10 @@ source $DOTFILES/shell/env.sh source $DOTFILES/shell/aliases.sh [ -n "${WSL_DISTRO_NAME+1}" ] && source $DOTFILES/shell/wsl.sh [ -n "${WSL_DISTRO_NAME+1}" ] && source $DOTFILES/shell/gpg.sh + +eval "$(starship init bash)" + +function set_win_title() { + echo -ne "\033]0;$USER@$HOSTNAME: ${PWD/$HOME/'~'}\007" +} +starship_precmd_user_func="set_win_title" |