Compare commits

..

No commits in common. "0c721ba4be1ed55fb37d1d0435ddd33f7ba05287" and "15c3d6eae6baadc1efee7c949263113061e0cb29" have entirely different histories.

View file

@ -10,11 +10,12 @@ in
paths = [pkgs.zsh];
buildInputs = [pkgs.makeWrapper];
postBuild = ''
# When it comes to zsh options, I'm probably missing some important ones,
# 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.
mkdir -p $out/etc/zsh
cp ${pkgs.writeText "zshrc"
# When it comes to zsh options, I'm probably missing some important ones,
# 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.
mkdir -p $out/etc/zsh
cp ${pkgs.writeText "zshrc" #sh
''
# Auto suggestions
${
@ -30,8 +31,6 @@ in
HISTFILE="$HOME/.zsh_history"
HISTSIZE=10000
SAVEHIST=10000
PATH=${lib.makeBinPath conf.extraPackages}:$PATH
setopt AUTO_CD
setopt AUTO_PUSHD
setopt PUSHD_IGNORE_DUPS
@ -59,6 +58,7 @@ in
''} $out/etc/zsh/.zshrc
wrapProgram $out/bin/zsh \
--prefix PATH : "${lib.makeBinPath conf.extraPackages}" \
--set ZDOTDIR "$out/etc/zsh"
'';
}