Skip to content

Commit

Permalink
task tab completion
Browse files Browse the repository at this point in the history
  • Loading branch information
esselius committed Aug 16, 2024
1 parent 92f7d22 commit 76806e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions home-configurations/peteresselius.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ in
asdf = true;
k8s = true;
minio = true;
task = true;
};

programs.fish.shellInit = ''
Expand Down
5 changes: 5 additions & 0 deletions home-modules/profiles/tools/work.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ in
asdf = lib.mkEnableOption "Install asdf";
k8s = lib.mkEnableOption "Install k8s packages & set shell config";
minio = lib.mkEnableOption "Install minio packages";
task = lib.mkEnableOption "Install task tab completion";
};

config = mkMerge [
Expand Down Expand Up @@ -60,5 +61,9 @@ in
minio-client
];
})

(mkIf cfg.task {
xdg.configFile."fish/completions/task.fish".source = "${pkgs.go-task}/share/fish/vendor_completions.d/task.fish";
})
];
}

0 comments on commit 76806e0

Please sign in to comment.