57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
home.packages = with pkgs; [
|
|
oh-my-zsh
|
|
];
|
|
|
|
programs ={
|
|
zsh = {
|
|
enable = true;
|
|
initContent = lib.mkOrder 1200 ''
|
|
eval "$(ssh-agent -s)"
|
|
ssh-add ~/.ssh/id_ed25519
|
|
'';
|
|
antidote = {
|
|
enable = true;
|
|
plugins = [
|
|
"zsh-users/zsh-autosuggestions"
|
|
"zsh-users/zsh-syntax-highlighting"
|
|
# "colored-man-pages"
|
|
# "colorize"
|
|
# "cp"
|
|
# "history"
|
|
# "ssh-agent"
|
|
# "zoxide"
|
|
];
|
|
useFriendlyNames = true;
|
|
};
|
|
autosuggestion = {
|
|
enable = true;
|
|
};
|
|
shellAliases = {
|
|
".." = "cd ..";
|
|
"..." = "cd ../..";
|
|
"...." = "cd ../../..";
|
|
"pls" = "pls -d typ -d perm -d user -d group -d size -d mtime -d git";
|
|
"z" = "zoxide";
|
|
};
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [
|
|
"git"
|
|
"sudo"
|
|
"colored-man-pages"
|
|
"colorize"
|
|
"cp"
|
|
"zoxide"
|
|
"ssh-agent"
|
|
"command-not-found"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|