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