Switch default shell back to fish

This commit is contained in:
Evie Litherland-Smith 2023-12-04 17:47:44 +00:00
parent 16994c48e2
commit cacda98abb
2 changed files with 33 additions and 48 deletions

View file

@ -20,7 +20,7 @@
user = "xenia"; user = "xenia";
system = "x86_64-linux"; system = "x86_64-linux";
group = "users"; group = "users";
shell = "zsh"; shell = "fish";
systemModules = [ ./system/hyprland.nix ]; systemModules = [ ./system/hyprland.nix ];
homeModules = [ homeModules = [
./home/accounts/default.nix ./home/accounts/default.nix

View file

@ -32,19 +32,12 @@
}; };
programs = { programs = {
bash.enable = true; bash.enable = true;
fish.enable = true;
nushell.enable = true; nushell.enable = true;
zsh = { fish = {
enable = true; enable = true;
enableAutosuggestions = true; interactiveShellInit = "enable_transience";
enableCompletion = true; };
syntaxHighlighting.enable = true; zsh.initExtra = ''
enableVteIntegration = true;
autocd = true;
dotDir = ".config/zsh";
historySubstringSearch.enable = true;
history.path = "${config.xdg.dataHome}/zsh/history";
initExtra = ''
xdg-query-program () { xdg-query-program () {
FILETYPE=$(xdg-mime query filetype $@) FILETYPE=$(xdg-mime query filetype $@)
DEFAULT=$(xdg-mime query default $FILETYPE) DEFAULT=$(xdg-mime query default $FILETYPE)
@ -73,12 +66,6 @@
done done
} }
''; '';
oh-my-zsh = {
enable = true;
plugins = [ "colored-man-pages" "lol" "rand-quote" ];
theme = "";
};
};
eza = { eza = {
enable = true; enable = true;
git = true; git = true;
@ -97,13 +84,12 @@
enable = true; enable = true;
nix-direnv.enable = true; nix-direnv.enable = true;
enableBashIntegration = true; enableBashIntegration = true;
enableZshIntegration = true;
enableNushellIntegration = true; enableNushellIntegration = true;
}; };
fzf = { fzf = {
enable = true; enable = true;
enableBashIntegration = true; enableBashIntegration = true;
enableZshIntegration = true; enableFishIntegration = true;
}; };
bat.enable = true; bat.enable = true;
git = { git = {
@ -173,7 +159,6 @@
starship = { starship = {
enable = true; enable = true;
enableBashIntegration = true; enableBashIntegration = true;
enableZshIntegration = true;
enableFishIntegration = true; enableFishIntegration = true;
enableNushellIntegration = true; enableNushellIntegration = true;
settings = { settings = {