Add starship prompt
This commit is contained in:
parent
1b39fc3592
commit
2963ec0ad4
4 changed files with 102 additions and 10 deletions
7
.bashrc
7
.bashrc
|
@ -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)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue