mv: fish functions
This commit is contained in:
1 parent
b3f3902737
commit
758b6886bd
17 files changed
+5
-3
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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
|
||||||
|
'';
|
||||||
}
|
}
|
||||||