Switch back to fish as main shell

Also enable nushell for fun/testing
This commit is contained in:
Evie Litherland-Smith 2024-11-18 14:11:09 +00:00
parent 9675e83bf8
commit 4cee90e9f0
3 changed files with 10 additions and 38 deletions

View file

@ -14,7 +14,11 @@
protondown = "sudo wg-quick down protonvpn"; protondown = "sudo wg-quick down protonvpn";
}; };
programs = { programs = {
# Shells
bash.enable = true; bash.enable = true;
fish.enable = true;
nushell.enable = true;
# CLI programs and utilities
carapace.enable = true; carapace.enable = true;
fd.enable = true; fd.enable = true;
jq.enable = true; jq.enable = true;
@ -68,36 +72,5 @@
visible-stats = "On"; visible-stats = "On";
}; };
}; };
zsh = {
enable = true;
enableCompletion = true;
autocd = true;
autosuggestion.enable = true;
defaultKeymap = "emacs";
syntaxHighlighting = {
enable = true;
highlighters = [
"brackets"
"cursor"
];
};
historySubstringSearch.enable = true;
history = {
extended = true;
share = true;
ignoreDups = true;
ignoreAllDups = true;
ignoreSpace = true;
expireDuplicatesFirst = true;
};
initExtra = ''
## completion config and styling
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' menu 'select=long-list'
## transient prompt
source ${./transient.zsh}
'';
};
}; };
} }

View file

@ -143,7 +143,6 @@
disabled = false; disabled = false;
format = "using [$indicator]($style)"; format = "using [$indicator]($style)";
bash_indicator = " "; bash_indicator = " ";
zsh_indicator = "󰰶 ";
fish_indicator = "󰈺 "; fish_indicator = "󰈺 ";
powershell_indicator = " "; powershell_indicator = " ";
cmd_indicator = " "; cmd_indicator = " ";

View file

@ -3,7 +3,7 @@
programs.alacritty = { programs.alacritty = {
enable = true; enable = true;
settings = { settings = {
shell = "${config.programs.zsh.package}/bin/zsh"; shell = "${config.programs.fish.package}/bin/fish";
window = { window = {
dynamic_title = true; dynamic_title = true;
padding = { padding = {