diff --git a/modules/home-manager/server/shell/zsh.nix b/modules/home-manager/server/shell/zsh.nix
index ff903aa..d729539 100644
--- a/modules/home-manager/server/shell/zsh.nix
+++ b/modules/home-manager/server/shell/zsh.nix
@@ -25,6 +25,7 @@
         TEST = "12345";
       };
       history = {
+        # append = true;
         size = 10000;
         path = "${config.xdg.dataHome}/zsh/history";
       };
@@ -32,8 +33,8 @@
       enableCompletion = true;
       historySubstringSearch = {
         enable = true;
-        searchDownKey = ["^[[B"];
-        searchUpKey = ["^[[A"];
+        searchDownKey = ["^[OB"];
+        searchUpKey = ["^[OA"];
       };
       syntaxHighlighting = {
         enable = true;
@@ -58,10 +59,6 @@
         bindkey "^[[1;5C" forward-word
         bindkey "^[[1;5D" backward-word
 
-        # Up(A) and down(B) for history search
-        # bindkey '^[[A' history-substring-search-up
-        # bindkey '^[[B' history-substring-search-down
-
         function get-pr-override() {
           PR_NO=$1
           HASH=$(curl -sL https://github.com/NixOS/nixpkgs/pull/''${PR_NO}.patch \