mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fish: filter out fish sessionizer functions to test
This commit is contained in:
parent
c16d84e75e
commit
3e2045260e
1 changed files with 15 additions and 5 deletions
|
|
@ -53,11 +53,21 @@ in {
|
|||
#
|
||||
# Scripts and functions
|
||||
#
|
||||
xdg.configFile =
|
||||
lib.mapAttrs'
|
||||
(path: _:
|
||||
lib.nameValuePair "fish/functions/${path}" {source = "${./functions}/${path}";})
|
||||
(builtins.readDir ./functions);
|
||||
xdg.configFile = let
|
||||
allFunctions =
|
||||
lib.mapAttrs'
|
||||
(path: _:
|
||||
lib.nameValuePair "fish/functions/${path}" {source = "${./functions}/${path}";})
|
||||
(builtins.readDir ./functions);
|
||||
in
|
||||
builtins.removeAttrs allFunctions [
|
||||
"fish/functions/__tmux-attach-or-switch.fish"
|
||||
"fish/functions/__tmux-maybe-create.fish"
|
||||
"fish/functions/__tmux-register-session.fish"
|
||||
"fish/functions/tmux-home.fish"
|
||||
"fish/functions/tmux-last.fish"
|
||||
"fish/functions/tmux-sessionizer.fish"
|
||||
];
|
||||
|
||||
programs.fish = {
|
||||
interactiveShellInit = builtins.readFile ./shellInit.fish;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue