replace nushell with fish
This commit is contained in:
parent
04b7c2cc20
commit
8c0b6d86bf
4 changed files with 10 additions and 12 deletions
|
|
@ -1,21 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
feature = "nushell";
|
||||
feature = "fish";
|
||||
in
|
||||
{
|
||||
config = lib.mkIf config.${feature}.enable {
|
||||
home.shell.enableNushellIntegration = true;
|
||||
programs.nushell = {
|
||||
home.shell.enableFishIntegration = true;
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
environmentVariables = {
|
||||
|
||||
};
|
||||
settings = {
|
||||
|
||||
};
|
||||
interactiveShellInit = ''
|
||||
set fish_greeting
|
||||
'';
|
||||
shellAliases = {
|
||||
cat = "bat";
|
||||
cd = "zoxide";
|
||||
cd = "j";
|
||||
g = "lazygit";
|
||||
l = "eza";
|
||||
la = "eza -a";
|
||||
|
|
@ -13,6 +13,7 @@ in
|
|||
settings = {
|
||||
theme = "catppuccin-mocha";
|
||||
show_startup_tips = false;
|
||||
default_shell = "fish";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue