Add starship prompt
This commit is contained in:
parent
1b39fc3592
commit
2963ec0ad4
4 changed files with 102 additions and 10 deletions
|
@ -12,6 +12,7 @@ fi
|
|||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="serguzim"
|
||||
[ -x "$(command -v starship)" ] && ZSH_THEME=""
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
|
@ -42,10 +43,10 @@ DISABLE_AUTO_UPDATE="false"
|
|||
# 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"
|
||||
|
@ -61,7 +62,7 @@ DISABLE_AUTO_UPDATE="false"
|
|||
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# or set a custom format using the strftime function format specifications,
|
||||
# see 'man strftime' for details.
|
||||
# HIST_STAMPS="yyyy-mm-dd"
|
||||
HIST_STAMPS="yyyy-mm-dd"
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
ZSH_CUSTOM=$ZDOTDIR/custom
|
||||
|
@ -78,11 +79,9 @@ plugins=(
|
|||
'cp'
|
||||
'docker'
|
||||
'docker-compose'
|
||||
'encode64'
|
||||
'extract'
|
||||
'git'
|
||||
'git-auto-status'
|
||||
'httpie'
|
||||
'jump'
|
||||
'laravel5'
|
||||
'rust'
|
||||
|
@ -108,3 +107,5 @@ export HISTFILE="$HOME/.cache/zsh_history"
|
|||
|
||||
# Load zsh-syntax-highlighting; should be last.
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
||||
|
||||
[ -x "$(command -v starship)" ] && eval "$(starship init zsh)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue