diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix index 610730c..6642582 100644 --- a/modules/home/zsh.nix +++ b/modules/home/zsh.nix @@ -5,36 +5,26 @@ host, ... }: { - home.packages = with pkgs; [fzf eza git fd]; + home.packages = with pkgs; [fzf git]; programs.zsh = { enable = true; enableCompletion = true; autosuggestion.enable = true; syntaxHighlighting.enable = true; + oh-my-zsh = { enable = true; plugins = ["git" "fzf"]; }; + shellAliases = { # Utils c = "clear"; cd = "z"; tt = "gtrash put"; - cat = "bat"; - nano = "micro"; - code = "codium"; - py = "python"; icat = "kitten icat"; - dsize = "du -hs"; - findw = "grep -rl"; - pdf = "tdf"; open = "xdg-open"; - find = "fd"; - - l = "eza --icons -a --group-directories-first -1"; #EZA_ICON_SPACING=2 - ll = "eza --icons -a --group-directories-first -1 --no-user --long"; - tree = "eza --icons --tree --group-directories-first"; # Nixos cdnix = "cd ~/nixos-config && codium ~/nixos-config";