Compare commits

...

2 commits

View file

@ -14,8 +14,7 @@ in
# if you know of any that I should add please make an issue for me, thank you. # if you know of any that I should add please make an issue for me, thank you.
# The sh comment before the multiline is for syntax highlighting in neovim. # The sh comment before the multiline is for syntax highlighting in neovim.
mkdir -p $out/etc/zsh mkdir -p $out/etc/zsh
cp ${pkgs.writeText "zshrc" #sh cp ${pkgs.writeText "zshrc"
'' ''
# Auto suggestions # Auto suggestions
${ ${
@ -31,6 +30,8 @@ in
HISTFILE="$HOME/.zsh_history" HISTFILE="$HOME/.zsh_history"
HISTSIZE=10000 HISTSIZE=10000
SAVEHIST=10000 SAVEHIST=10000
PATH=${lib.makeBinPath conf.extraPackages}:$PATH
setopt AUTO_CD setopt AUTO_CD
setopt AUTO_PUSHD setopt AUTO_PUSHD
setopt PUSHD_IGNORE_DUPS setopt PUSHD_IGNORE_DUPS
@ -58,7 +59,6 @@ in
''} $out/etc/zsh/.zshrc ''} $out/etc/zsh/.zshrc
wrapProgram $out/bin/zsh \ wrapProgram $out/bin/zsh \
--prefix PATH : "${lib.makeBinPath conf.extraPackages}" \
--set ZDOTDIR "$out/etc/zsh" --set ZDOTDIR "$out/etc/zsh"
''; '';
} }