2024-03-19 05:12:35 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
programs.starship.enableZshIntegration = true;
|
|
|
|
programs.fzf.enableZshIntegration = true;
|
|
|
|
programs.zoxide.enableZshIntegration = true;
|
|
|
|
programs.yazi.enableZshIntegration = true;
|
2024-03-20 22:58:03 +01:00
|
|
|
programs.carapace.enableZshIntegration = true;
|
2024-03-19 05:12:35 +01:00
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
enableCompletion = true;
|
|
|
|
autocd = true;
|
|
|
|
history = {
|
|
|
|
ignoreAllDups = true;
|
|
|
|
extended = true;
|
|
|
|
};
|
|
|
|
shellAliases = {
|
|
|
|
ll = "ls -lh";
|
|
|
|
la = "-lha";
|
|
|
|
please = "sudo $(fc -ln -1)";
|
|
|
|
slideshow = "feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay";
|
|
|
|
pyactivate = "source ./.venv/bin/activate";
|
|
|
|
};
|
|
|
|
syntaxHighlighting = {
|
|
|
|
enable = true;
|
|
|
|
highlighters = [
|
|
|
|
"main"
|
|
|
|
"brackets"
|
|
|
|
"pattern"
|
|
|
|
"regexp"
|
|
|
|
"cursor"
|
|
|
|
"root"
|
|
|
|
"line"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|