diff options
author | Gianni Ceccarelli <gceccarelli@veritone.com> | 2023-10-09 17:14:40 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2023-10-13 10:25:01 +0100 |
commit | 26dab9d1928038d10c1560eefbe77c772b07a998 (patch) | |
tree | 1ba9e78fbf91f5d63cedb6bbf63f0e821415ae87 /.bashrc | |
parent | remove Multi_key from mod1 (diff) | |
download | dotfiles-26dab9d1928038d10c1560eefbe77c772b07a998.tar.gz dotfiles-26dab9d1928038d10c1560eefbe77c772b07a998.tar.bz2 dotfiles-26dab9d1928038d10c1560eefbe77c772b07a998.zip |
starship configstarship
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -49,7 +49,15 @@ function xreset() { esac } -. ~/src/git-prompt/git-prompt.sh +#. ~/src/git-prompt/git-prompt.sh +function starship_set_win_title() { + local cwd="${PWD/$HOME/\~}" + cwd="${cwd##[/~]*/}/" + + xtitle "$USER@$(hostname):$cwd" +} +starship_precmd_user_func=starship_set_win_title +eval "$(starship init bash)" #export PS1="\ #\[\033[1;37m\]\u@\h\ |