Files
nix-config/home-manager/zsh.nix
2024-03-30 22:27:13 +01:00

25 lines
1000 B
Nix

{ config, pkgs, inputs, ...}:
{
programs.zsh = {
enable = true;
enableCompletion = true;
# new option autosuggestion.enable = true;
enableAutosuggestions = true;
shellAliases = {
ll = "ls -l";
update = "sudo nixos-rebuild switch";
updateOffline = "sudo nixos-rebuild switch --option substitute false";
checkTime = "(cd ~/Nextcloud/work_drive/TS && nix run)";
checkWaylandWindowsKDE = "qdbus org.kde.KWin /KWin org.kde.KWin.showDebugConsole";
backupNoita = "cp -r ~/.local/share/Steam/steamapps/compatdata/881100/pfx/drive_c/users/steamuser/AppData/LocalLow/Nolla_Games_Noita/save00 ~/Nextcloud/noita_save";
# TODO: gifsicle -O3 --lossy=30 noita-20240328-191617-1612416266-00316616.gif -o noita-20240328-191617-1612416266.gif
ssh = "TERM=xterm-256color ssh";
};
oh-my-zsh = {
enable = true;
plugins = [ "git" ];
theme = "eastwood";
};
};
}