fix confusion with spaceship

This commit is contained in:
Ray Elliott 2020-08-04 11:05:10 +01:00
parent 75d5fa9414
commit 6d4a395cc0
1 changed files with 1 additions and 2 deletions

3
zshrc
View File

@ -1,6 +1,5 @@
# if using zgen must do 'zgen reset' after any changes to this file # if using zgen must do 'zgen reset' after any changes to this file
emulate sh emulate sh
source "${HOME}/.profile" source "${HOME}/.profile"
emulate zsh emulate zsh
@ -42,7 +41,6 @@ if ! zgen saved; then
# specify plugins here # specify plugins here
zgen load denysdovhan/spaceship-prompt spaceship
zgen load zdharma/fast-syntax-highlighting zgen load zdharma/fast-syntax-highlighting
zgen load zsh-users/zsh-autosuggestions zgen load zsh-users/zsh-autosuggestions
zgen load zsh-users/zsh-history-substring-search zgen load zsh-users/zsh-history-substring-search
@ -109,4 +107,5 @@ alias todone='task_done'
# https://til.hashrocket.com/posts/7evpdebn7g-remove-duplicates-in-zsh-path # https://til.hashrocket.com/posts/7evpdebn7g-remove-duplicates-in-zsh-path
typeset -aU path typeset -aU path
eval "$(starship init zsh)"
export STARSHIP_CONFIG=~/.config/starship/starship.toml export STARSHIP_CONFIG=~/.config/starship/starship.toml