dotfiles/home/private_dot_config/zsh/plugins/prompt/prompt.plugin.zsh
2024-07-31 11:00:55 -05:00

19 lines
515 B
Bash

#!/usr/bin/env zsh
# 0=${(%):-%N}
# fpath+="${0:A:h}/functions"
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
# eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/omp/config.yml)"
# smartcache eval oh-my-posh init zsh --config $XDG_CONFIG_HOME/omp/config.yml