diff options
author | Gianni Ceccarelli <gceccarelli@veritone.com> | 2023-10-09 17:14:40 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2023-10-13 09:33:53 +0000 |
commit | b86e4f48471e61212af4901b22c70dea2fdc0734 (patch) | |
tree | e4e7080dc575b99d589d64d548853febe7f3e1d1 /.bashrc | |
parent | let me look at misksey (diff) | |
download | dotfiles-b86e4f48471e61212af4901b22c70dea2fdc0734.tar.gz dotfiles-b86e4f48471e61212af4901b22c70dea2fdc0734.tar.bz2 dotfiles-b86e4f48471e61212af4901b22c70dea2fdc0734.zip |
starship config
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -52,7 +52,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 PATH="$PATH:/usr/local/sietima/bin" for b in /usr/local/sietima/bin/*.bashcomp; do |