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
2024-09-03 11:40:19 +02:00

31 lines
629 B
Nix

{ 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";
ep = "hx ~/.config/nix-on-droid/nix-on-droid.nix";
};
history.size = 1000000;
history.path = ".config/zsh/history";
oh-my-zsh = {
enable = true;
plugins = [
# "history-substring-search"
];
};
};
}