nix fix
This commit is contained in:
parent
55038179aa
commit
7945d52c91
1 changed files with 5 additions and 3 deletions
8
.zshrc
8
.zshrc
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue