This repository has been archived on 2024-09-22. You can view files and clone it, but cannot push or open issues or pull requests.
nix-on-droid/home/zsh/default.nix

31 lines
629 B
Nix
Raw Normal View History

2024-07-23 17:03:15 +02:00
{ pkgs, ... } :
{
programs.zsh = {
enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
historySubstringSearch.enable = true;
dotDir = ".config/zsh";
initExtra = "PROMPT='%F{green}%~%f '";
shellAliases = {
v = "hx";
ser = "ssh root@joygnu.org";
rb = "nix-on-droid switch --flake ~/.config/nix-on-droid";
2024-09-03 11:40:19 +02:00
ep = "hx ~/.config/nix-on-droid/nix-on-droid.nix";
2024-07-23 17:03:15 +02:00
};
history.size = 1000000;
history.path = ".config/zsh/history";
oh-my-zsh = {
enable = true;
plugins = [
2024-07-23 18:25:16 +02:00
# "history-substring-search"
2024-07-23 17:03:15 +02:00
];
};
};
}