Add starship prompt

This commit is contained in:
Tobias Reisinger 2022-03-28 13:28:38 +02:00
parent 1b39fc3592
commit 2963ec0ad4
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 102 additions and 10 deletions

View file

@ -11,6 +11,7 @@ fi
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-bash is loaded.
OSH_THEME="brainy"
[ -x "$(command -v starship)" ] && ZSH_THEME=""
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
@ -29,10 +30,10 @@ OSH_THEME="brainy"
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
@ -88,3 +89,5 @@ shopt -s checkwinsize
source "$HOME/.config/environment"
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
[ -x "$(command -v thefuck)" ] && eval $(thefuck --alias)
[ -x "$(command -v starship)" ] && eval "$(starship init bash)"