drop starship from zsh
This commit is contained in:
parent
3f28038548
commit
0c9d217e9e
2 changed files with 0 additions and 17 deletions
|
@ -1,10 +0,0 @@
|
||||||
# fall back prompt for tty
|
|
||||||
autoload -Uz vcs_info
|
|
||||||
precmd() {
|
|
||||||
vcs_info
|
|
||||||
}
|
|
||||||
|
|
||||||
zstyle ':vcs_info:git:*' formats '%b '
|
|
||||||
|
|
||||||
setopt PROMPT_SUBST
|
|
||||||
PROMPT='%F{green}%*%f %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
|
|
|
@ -1,7 +0,0 @@
|
||||||
if is-tty; then
|
|
||||||
export STARSHIP_CONFIG=~/.config/starship/plain.toml
|
|
||||||
else
|
|
||||||
export STARSHIP_CONFIG=~/.config/starship/config.toml
|
|
||||||
fi
|
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
|
Loading…
Reference in a new issue