2025-02-20 00:33:28 +01:00
|
|
|
{profile, ...}: {
|
2025-02-20 00:13:47 +01:00
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
autosuggestion.enable = true;
|
|
|
|
syntaxHighlighting.enable = true;
|
2025-02-20 00:33:28 +01:00
|
|
|
|
|
|
|
initExtra = ''
|
2025-02-20 04:06:22 +01:00
|
|
|
bindkey "^H" backward-word
|
|
|
|
bindkey "^J" down-line-or-history
|
|
|
|
bindkey "^K" up-line-or-history
|
|
|
|
bindkey "^L" forward-word
|
2025-02-20 00:33:28 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
shellAliases = {
|
|
|
|
sv = "sudo nvim";
|
|
|
|
v = "nvim";
|
2025-02-20 04:06:22 +01:00
|
|
|
c = "clear";
|
2025-02-20 00:33:28 +01:00
|
|
|
fr = "nh os switch --hostname ${profile}";
|
|
|
|
fu = "nh os switch --hostname ${profile} --update";
|
|
|
|
zu = "sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)";
|
|
|
|
ncg = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
|
|
|
cat = "bat";
|
|
|
|
man = "batman";
|
2025-02-20 04:06:22 +01:00
|
|
|
ls = "eza --icons --group-directories-first -1";
|
|
|
|
ll = "eza --icons -a --group-directories-first -1 --no-user --long";
|
2025-02-20 00:33:28 +01:00
|
|
|
tree = "eza --icons --tree --group-directories-first";
|
|
|
|
};
|
2025-02-20 00:13:47 +01:00
|
|
|
};
|
|
|
|
}
|