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
|
# Scripts and functions
|
||||||
#
|
#
|
||||||
xdg.configFile =
|
xdg.configFile = let
|
||||||
lib.mapAttrs'
|
allFunctions =
|
||||||
(path: _:
|
lib.mapAttrs'
|
||||||
lib.nameValuePair "fish/functions/${path}" {source = "${./functions}/${path}";})
|
(path: _:
|
||||||
(builtins.readDir ./functions);
|
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 = {
|
programs.fish = {
|
||||||
interactiveShellInit = builtins.readFile ./shellInit.fish;
|
interactiveShellInit = builtins.readFile ./shellInit.fish;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue