projects
/
shutils.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zsh: Update zshrc and starship configs
[shutils.git]
/
dotfiles
/
shell
/
.zshrc
diff --git
a/dotfiles/shell/.zshrc
b/dotfiles/shell/.zshrc
index 4e135a9b9afe9771409c884244f759a7df7cd116..c187a58e7204deab9b5afed3f3b2a028e43a0986 100644
(file)
--- a/
dotfiles/shell/.zshrc
+++ b/
dotfiles/shell/.zshrc
@@
-70,6
+70,16
@@
SAVEHIST=50000
REPORTTIME=5
TIMEFMT="$fg[magenta]%J %U user %S sys %P cpu %*E total %M MB RSS max$terminfo[sgr0]"
REPORTTIME=5
TIMEFMT="$fg[magenta]%J %U user %S sys %P cpu %*E total %M MB RSS max$terminfo[sgr0]"
+
+# Load starship if exists, and that's it.
+#if [ $TERM != "linux" ] && type "starship" > /dev/null; then
+ eval "$(starship init zsh)"
+ return
+#fi
+
+
+# Otherwise, do some homebrewn configuration
+
autoload -Uz vcs_info && vcs_info
zstyle ':vcs_info:*' enable git cvs svn hg
zstyle ':vcs_info:*' use-prompt-escapes
autoload -Uz vcs_info && vcs_info
zstyle ':vcs_info:*' enable git cvs svn hg
zstyle ':vcs_info:*' use-prompt-escapes