Switch back to fish as main shell
Also enable nushell for fun/testing
This commit is contained in:
parent
9675e83bf8
commit
4cee90e9f0
|
@ -14,7 +14,11 @@
|
|||
protondown = "sudo wg-quick down protonvpn";
|
||||
};
|
||||
programs = {
|
||||
# Shells
|
||||
bash.enable = true;
|
||||
fish.enable = true;
|
||||
nushell.enable = true;
|
||||
# CLI programs and utilities
|
||||
carapace.enable = true;
|
||||
fd.enable = true;
|
||||
jq.enable = true;
|
||||
|
@ -68,36 +72,5 @@
|
|||
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}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -142,12 +142,11 @@
|
|||
shell = {
|
||||
disabled = false;
|
||||
format = "using [$indicator]($style)";
|
||||
bash_indicator = " ";
|
||||
zsh_indicator = " ";
|
||||
fish_indicator = " ";
|
||||
powershell_indicator = " ";
|
||||
cmd_indicator = " ";
|
||||
unknown_indicator = " ";
|
||||
bash_indicator = " ";
|
||||
fish_indicator = " ";
|
||||
powershell_indicator = " ";
|
||||
cmd_indicator = " ";
|
||||
unknown_indicator = " ";
|
||||
};
|
||||
status = {
|
||||
disabled = false;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
shell = "${config.programs.zsh.package}/bin/zsh";
|
||||
shell = "${config.programs.fish.package}/bin/fish";
|
||||
window = {
|
||||
dynamic_title = true;
|
||||
padding = {
|
||||
|
|
Loading…
Reference in a new issue