summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorGianni Ceccarelli <gceccarelli@veritone.com>2023-10-09 17:14:40 +0100
committerdakkar <dakkar@thenautilus.net>2023-10-13 09:33:53 +0000
commitb86e4f48471e61212af4901b22c70dea2fdc0734 (patch)
treee4e7080dc575b99d589d64d548853febe7f3e1d1 /.bashrc
parentlet me look at misksey (diff)
downloaddotfiles-b86e4f48471e61212af4901b22c70dea2fdc0734.tar.gz
dotfiles-b86e4f48471e61212af4901b22c70dea2fdc0734.tar.bz2
dotfiles-b86e4f48471e61212af4901b22c70dea2fdc0734.zip
starship config
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc10
1 files changed, 9 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 3cab219..45a42f1 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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