Skip to content

Commit dd97d99

Browse files
committed
Move starship init to nix
1 parent 5085c7b commit dd97d99

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.bashrc

+6-12
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ export INPUTRC=$THIS_DIR/.inputrc
8383

8484
bind 'set completion-ignore-case on'
8585

86-
if hash starship 2>/dev/null; then
87-
eval "$(starship init bash)"
88-
else
89-
echo "Install Starship to get a nice theme. Go to: https://starship.rs/"
90-
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
91-
fi
86+
# if hash starship 2>/dev/null; then
87+
# eval "$(starship init bash)"
88+
# else
89+
# echo "Install Starship to get a nice theme. Go to: https://starship.rs/"
90+
# PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
91+
# fi
9292

9393
SCRIPTS=`find "$THIS_DIR" -name '*.bash' -type f -printf '%h\0%d\0%p\n' | sort -t '\0' -n | awk -F'\0' '{print $3}'`
9494
for SCRIPT in $SCRIPTS; do
@@ -101,12 +101,6 @@ if ! $WSL; then
101101
export GPG_TTY
102102
fi
103103

104-
# I was considering using githhoks in templating mode, but I think I prefer manual mode
105-
# I will leave this here in case I change my mind
106-
# if [ -d "$HOME"/.gittemplate ] && [ -x "$(git config githooks.runner | envsubst)" ]; then
107-
# export GIT_TEMPLATE_DIR="$HOME"/.gittemplate
108-
# fi
109-
110104
if ! [ -v XDG_RUNTIME_DIR ]; then
111105
XDG_RUNTIME_DIR=/run/user/`id -u`/
112106
export XDG_RUNTIME_DIR

0 commit comments

Comments
 (0)