dotfiles/home/private_dot_config/zsh/plugins/prompt/prompt.plugin.zsh

19 lines
515 B
Bash
Raw Normal View History

2023-11-12 12:54:14 -06:00
#!/usr/bin/env zsh
2024-07-01 13:33:02 -05:00
# 0=${(%):-%N}
2023-11-12 12:54:14 -06:00
# fpath+="${0:A:h}/functions"
2024-07-01 13:33:02 -05:00
autoload -Uz promptinit && promptinit
if zmodload zsh/terminfo && (( terminfo[colors] >= 256 )); then
[[ ! -f $ZDOTDIR/themes/.p10k.zsh ]] || source $ZDOTDIR/themes/.p10k.zsh
else
[[ ! -f $ZDOTDIR/themes/.p10k-ascii.zsh ]] || source $ZDOTDIR/themes/.p10k-ascii.zsh
fi
prompt powerlevel10k
2023-11-12 12:54:14 -06:00
2024-06-12 02:12:43 -05:00
# eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/omp/config.yml)"
2023-11-12 12:54:14 -06:00
2024-07-31 11:00:55 -05:00
# smartcache eval oh-my-posh init zsh --config $XDG_CONFIG_HOME/omp/config.yml
2023-11-12 12:54:14 -06:00