mv: fish functions
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
# automatically discover functions in the relative fish functions directory
|
# automatically discover functions in the relative fish functions directory
|
||||||
fishFuncDir = ./fish-config/functions;
|
fishFuncDir = ./fish-functions;
|
||||||
fishFuncs = lib.attrsets.mapAttrs'
|
fishFuncs = lib.attrsets.mapAttrs'
|
||||||
(name: _: lib.nameValuePair (lib.strings.removeSuffix ".fish" "${name}") ({
|
(name: _: lib.nameValuePair (lib.strings.removeSuffix ".fish" "${name}") ({
|
||||||
body = builtins.readFile (fishFuncDir + "/${name}");
|
body = builtins.readFile (fishFuncDir + "/${name}");
|
||||||
@@ -82,6 +82,4 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
home-manager.users."djai".home.shell.enableFishIntegration = true;
|
home-manager.users."djai".home.shell.enableFishIntegration = true;
|
||||||
|
|
||||||
home.file.".config/fish/themes".source = config.lib.file.mkOutOfStoreSymLink ./fish-config/themes/;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,4 +43,8 @@
|
|||||||
return 'args' not in pcmd['payload']
|
return 'args' not in pcmd['payload']
|
||||||
return False
|
return False
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
home-manager.users."djai".home.file.".config/kitty/ssh.conf".text = ''
|
||||||
|
copy .config/fish .config/kitty .config/starship.toml .config/tmux
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user