aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-15 18:31:27 +0100
committerene <ene@sils.li>2023-02-15 18:31:27 +0100
commit160e41f82f965400ca9601aa14acfa8b16ad0199 (patch)
tree3a72e2dbcd76d8940b898495caa063abed994414
parentFix(home-manager): Fix Typos (diff)
downloadnixos-config-160e41f82f965400ca9601aa14acfa8b16ad0199.zip
Fix(zsh): Remove typos
-rw-r--r--home-manager/zsh/default.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/home-manager/zsh/default.nix b/home-manager/zsh/default.nix
index f694b4a9..f05de847 100644
--- a/home-manager/zsh/default.nix
+++ b/home-manager/zsh/default.nix
@@ -1,6 +1,7 @@
{
config,
pkgs,
+ lib,
...
}: {
programs.zsh = {
@@ -21,24 +22,23 @@
path = "${config.xdg.dataHome}/zsh/history";
save = 9000000; # number of lines to save
- keep = 9000000; # number of lines to keep
+ size = 9000000; # number of lines to keep
share = true; # share between sessions
-
- hostorySubstringSearch = {
- enable = true;
- searchDownKey = "^[[B"; # DOWN Arrow key
- searchUpKey = "^[[A"; # UP Arrow key
- };
+ };
+ historySubstringSearch = {
+ enable = true;
+ searchDownKey = "^[[B"; # DOWN Arrow key
+ searchUpKey = "^[[A"; # UP Arrow key
};
loginExtra =
builtins.readFile ./config/zsh-prompt.sh
- + builtins.readFile ./config/custome_cursor
+ + builtins.readFile ./config/custom_cursor.sh
+ ''
eval $(ssh-agent -s) > /dev/null # start ssh agent
export ENHANCHED_NEOFETCH="$(pacman -Qn | wc -l) (pacman), $(pacman -Qm | wc -l) (aur), $(($(cargo install --list | wc -l ) / 2)) (cargo)"
''
- + builtins.concatSepList "setopt" [
+ + lib.concatStringsSep "setopt" [
"AUTO_CD"
"AUTO_PUSHD"
"CHASE_DOTS"
@@ -112,7 +112,7 @@
BEMENU_OPTS = "--fn 'Source Code Pro 10' -c -l 30 -B 1 -W 0.9 --hf #ffffff";
# Clean the home dir {{{
- _JAVA_OPTIONS = builtins.concatSep " " [
+ _JAVA_OPTIONS = lib.concatStringsSep " " [
''-Djava.util.prefs.userRoot="${config.xdg.configHome}/java"''
''-Djavafx.cachedir="${config.xdg.cacheHome}/openjfx"''
];