summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home.nix25
1 files changed, 8 insertions, 17 deletions
diff --git a/home.nix b/home.nix
index c0d6580..37acc3b 100644
--- a/home.nix
+++ b/home.nix
@@ -40,6 +40,10 @@
programs.zsh = {
enable = true;
+ enableCompletion = true;
+ autosuggestion.enable = true;
+ syntaxHighlighting.enable = true;
+
shellAliases = {
cp = "cp -v";
mv = "mv -v";
@@ -47,26 +51,13 @@
mkdir = "mkdir -v -p";
rmdir = "rmdir -v";
ls = "ls -hla --color=auto";
+ l = "ls -hla --color=auto";
+ ll = "ls -hla --color=auto";
grep = "grep --color=auto";
- vim-basic = "vim";
+ bvim = "vim";
vim = "nvim";
};
- plugins = [
- {
- name = "zsh-autosuggestions";
- src = fetchGit {
- url = "https://github.com/zsh-users/zsh-autosuggestions.git";
- rev = "c3d4e576c9c86eac62884bd47c01f6faed043fc5";
- };
- }
- {
- name = "zsh-syntax-highlighting";
- src = fetchGit {
- url = "https://github.com/zsh-users/zsh-syntax-highlighting.git";
- rev = "e0165eaa730dd0fa321a6a6de74f092fe87630b0";
- };
- }
- ];
+ history.size = 10000;
};
}