diff --git a/flake.lock b/flake.lock index 95e9747..4db5161 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1718921313, - "narHash": "sha256-TFJah1RW5qnYW7kajjAFPAS5j/0q0R3vz9zPjrRA0Mc=", + "lastModified": 1721074762, + "narHash": "sha256-RhqFBMLh6G5vAo7Jz9mdsworI50E4FAAg7rPho4CNfY=", "owner": "Aylur", "repo": "ags", - "rev": "646d5ad073ff7f8b1d50cfbd40f5b8a250fcd59d", + "rev": "8194f0c9546a150525a2022c17aed51df1464b80", "type": "github" }, "original": { @@ -163,11 +163,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1721016201, - "narHash": "sha256-Jk54PIyWbdYLsi5tTQ3SFG4RWOqA5ui6+I9hjthM63o=", + "lastModified": 1721102596, + "narHash": "sha256-NwkxySooO4c+0AmWz+199HKB7cyZAOuzdqwDyYYJrow=", "owner": "rycee", "repo": "nur-expressions", - "rev": "41341e2fdeb70555c92ec7a4d3cd13a8498897fd", + "rev": "2004d4c0218505901d8fad29948f1a1191f658f6", "type": "gitlab" }, "original": { diff --git a/home/zsh/default.nix b/home/zsh/default.nix index e2a1010..a534f5c 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -1,4 +1,4 @@ -{ config, ...} : +{ config, pkgs, ... } : { programs.zsh = { @@ -7,10 +7,12 @@ autosuggestion.enable = true; syntaxHighlighting.enable = true; historySubstringSearch.enable = true; + dotDir = ".config/zsh"; initExtra = "PROMPT='%F{green}%~%f '"; - + shellAliases = { v = "nvim"; + ls = "${pkgs.eza}/bin/eza --icons -a --group-directories-first"; pu = "bash ~/nix/home/zsh/push.sh"; fr = "sudo systemctl reboot --firmware"; ser = "ssh root@joygnu.org"; @@ -29,9 +31,17 @@ ev = "nvim ~/nix/home/neovim/default.nix"; }; - history.size = 10000; + history.size = 100000; history.path = "${config.xdg.dataHome}/zsh/history"; + oh-my-zsh = { + enable = true; + plugins = [ + "history-substring-search" + "git" + ]; + }; + }; }