2023-09-15 13:23:59 +00:00
|
|
|
{
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
oh-my-zsh = {
|
|
|
|
enable = true;
|
|
|
|
plugins = [ "git" "fzf" ];
|
|
|
|
theme = "kolo";
|
|
|
|
};
|
|
|
|
history = {
|
|
|
|
share = false; # every terminal has it's own history
|
|
|
|
size = 10000;
|
|
|
|
};
|
|
|
|
shellAliases = {
|
2023-09-26 14:21:05 +00:00
|
|
|
"k" = "kubectl";
|
2023-09-15 13:23:59 +00:00
|
|
|
"dl" = "ls -lhtr --color=always ~/Downloads | tail -n 10"; # Show the 10 newest Downloads
|
|
|
|
"buzzer" = "ssh -i Nextcloud/Privat/id_door door@door.w17.io buzzer";
|
2023-12-13 11:15:22 +00:00
|
|
|
"beep" = "paplay /usr/share/sounds/freedesktop/stereo/complete.oga"; # play "ding" for long running jobs
|
2023-09-15 13:23:59 +00:00
|
|
|
};
|
2023-09-26 14:21:05 +00:00
|
|
|
initExtra = ''
|
|
|
|
export EDITOR="nvim";
|
|
|
|
export PATH="$PATH:$HOME/.krew/bin:$HOME/bin:$HOME/go/bin";
|
|
|
|
source <(kubectl completion zsh)
|
|
|
|
'';
|
2023-09-15 13:23:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|