mirror of
https://github.com/kossLAN/zsh-flake.git
synced 2025-11-04 17:59:50 -05:00
Compare commits
2 commits
15c3d6eae6
...
0c721ba4be
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c721ba4be | |||
| a6cd75f1c3 |
1 changed files with 7 additions and 7 deletions
|
|
@ -10,12 +10,11 @@ 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" #sh
|
||||
|
||||
# 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"
|
||||
''
|
||||
# Auto suggestions
|
||||
${
|
||||
|
|
@ -31,6 +30,8 @@ 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
|
||||
|
|
@ -58,7 +59,6 @@ in
|
|||
''} $out/etc/zsh/.zshrc
|
||||
|
||||
wrapProgram $out/bin/zsh \
|
||||
--prefix PATH : "${lib.makeBinPath conf.extraPackages}" \
|
||||
--set ZDOTDIR "$out/etc/zsh"
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue