source nix shell init directly and initialize autocomplete scripts
parent
20bdd87a75
commit
56ca4c33b7
8
.zshrc
8
.zshrc
|
@ -1,6 +1,5 @@
|
|||
if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
|
||||
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
||||
fi
|
||||
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||
source /nix/var/nix/profiles/default/etc/profile.d/nix.sh
|
||||
|
||||
export BAT_THEME="Solarized (light)"
|
||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||
|
@ -95,3 +94,6 @@ alias z="$(which zoxide)"
|
|||
|
||||
[ -f "$HOME/.zshrc.local" ] && source "$HOME/.zshrc.local"
|
||||
[ -f "$HOME/.zshrc.auto" ] && source "$HOME/.zshrc.auto"
|
||||
|
||||
FPATH="$HOME/.nix-profile/share/zsh/site-functions:${FPATH}"
|
||||
autoload -Uz compinit && compinit
|
||||
|
|
Loading…
Reference in New Issue