This commit is contained in:
Kyle Brown 2023-05-29 17:36:00 -07:00
parent 55038179aa
commit 7945d52c91

8
.zshrc
View file

@ -10,6 +10,10 @@ trypath() {
[[ -e $1 ]] && path+=($1)
}
trysource ${HOME}/.nix-profile/etc/profile.d/nix.sh
# Nix home-manager
trysource ${HOME}/.nix-profile/etc/profile.d/hm-session-vars.sh
# Zplug
trysource ${HOME}/.zplug/init.zsh
@ -23,10 +27,10 @@ fi
trysource ${HOME}/.zpackages.zsh
zplug load
ZSH_THEME="powerlevel10k/powerlevel10k"
trysource "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
# If running from tty1 start sway
if [ "$(tty)" = "/dev/tty1" ]; then
if command -v sway > /dev/null 2>&1; then
@ -157,5 +161,3 @@ fi
# To customize prompt, run `p10k configure` or edit ${HOME}/.p10k.zsh.
trysource ${HOME}/.p10k.zsh
# Nix home-manager
trysource ${HOME}/.nix-profile/etc/profile.d/hm-session-vars.sh