declare Garden tooling and workbench
This commit is contained in:
1 parent
dd373eccf5
commit
0c121a6cdf
3 files changed
+55
-14
No files matched your search
@@ -7,10 +7,6 @@
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
gardenctl = "${config.home.homeDirectory}/.garden/gardenctl";
|
||||
uuidgen = lib.getExe' pkgs.util-linux "uuidgen";
|
||||
in
|
||||
{
|
||||
home.sessionVariables = {
|
||||
STARSHIP_CACHE = "${config.xdg.cacheHome}/starship";
|
||||
@@ -66,12 +62,7 @@
|
||||
'';
|
||||
|
||||
initContent = ''
|
||||
source <(${gardenctl} completion zsh)
|
||||
if [ -z "$GCTL_SESSION_ID" ] && [ -z "$TERM_SESSION_ID" ]; then
|
||||
export GCTL_SESSION_ID=$(${uuidgen})
|
||||
fi
|
||||
|
||||
eval $(${gardenctl} kubectl-env zsh)
|
||||
source <(gardenctl rc zsh)
|
||||
|
||||
bindkey -v
|
||||
|
||||
|
||||
Reference in new issue
Block a user