noo oh my zsh

This commit is contained in:
joygnu 2024-07-16 10:38:14 +02:00
parent d58092f9f6
commit f643292ea8
2 changed files with 19 additions and 9 deletions

View file

@ -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": {

View file

@ -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"
];
};
};
}