2023-08-08 08:51:20 +02:00
|
|
|
{ pkgs, lib, inputs, config, ... }: {
|
2023-07-27 11:33:44 +02:00
|
|
|
programs = {
|
|
|
|
zsh = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
prezto = {
|
|
|
|
enable = true;
|
|
|
|
editor = {
|
|
|
|
keymap = "vi";
|
|
|
|
dotExpansion = true;
|
|
|
|
};
|
|
|
|
prompt = {
|
|
|
|
theme = "paradox";
|
|
|
|
pwdLength = "long";
|
|
|
|
showReturnVal = true;
|
|
|
|
};
|
|
|
|
terminal.autoTitle = true;
|
|
|
|
|
|
|
|
pmodules = [
|
|
|
|
"environment"
|
|
|
|
"terminal"
|
|
|
|
"editor"
|
|
|
|
"history"
|
|
|
|
"directory"
|
|
|
|
"spectrum"
|
|
|
|
"utility"
|
|
|
|
"ssh"
|
|
|
|
"completion"
|
|
|
|
"git"
|
|
|
|
"autosuggestions"
|
|
|
|
"syntax-highlighting"
|
|
|
|
"history-substring-search"
|
|
|
|
"prompt"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-08-08 08:51:20 +02:00
|
|
|
initExtra = ''
|
|
|
|
# Autocomplete ../
|
|
|
|
zstyle ':completion:*' special-dirs true
|
2023-08-18 19:06:07 +02:00
|
|
|
export PATH="$HOME/.config/emacs/bin:$PATH"
|
2023-08-08 08:51:20 +02:00
|
|
|
'';
|
|
|
|
|
2023-07-27 11:33:44 +02:00
|
|
|
shellAliases = {
|
|
|
|
l = "exa -l";
|
|
|
|
tree = "exa --tree --icons";
|
|
|
|
rebuild = "darwin-rebuild switch --flake /Users/felixalb/nix";
|
2023-08-08 08:51:20 +02:00
|
|
|
shell = "nix-shell --run zsh";
|
2023-07-27 11:33:44 +02:00
|
|
|
gst = "git status -sb";
|
|
|
|
gcm = "git commit -m";
|
|
|
|
gps = "git push";
|
|
|
|
gpl = "git pull";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-08-08 08:51:20 +02:00
|
|
|
}
|