better cli

This commit is contained in:
ari committed 2026-05-25 15:31:00 -04:00
1 parent 53cbaf603a
commit d3b711046c
5 files changed
+173 -147

No files matched your search

+16 -2
View File
@@ -130,10 +130,24 @@
rustc
cargo
rust-analyzer
nushell
];
shellHook = ''
export PATH=$PATH:$(pwd)/bin
${pre-commit-check.shellHook}
export PATH=$PATH:$(pwd)/bin
export SKYG_LIB="$(pwd)/bin/lib/cmds.nu"
${pre-commit-check.shellHook}
if [ -z "$NU_VERSION" ] && [ -t 0 ] && command -v nu >/dev/null; then
cat <<'BANNER'
____ _ ____ ____ _ _ _
/ ___|| | ___ _/ ___| / ___|| |__ ___| | |
\___ \| |/ / | | | | _ \___ \| '_ \ / _ \ | |
___) | <| |_| | |_| | ___) | | | | __/ | |
|____/|_|\_\\__, |\____| |____/|_| |_|\___|_|_|
|___/
BANNER
exec nu --execute "use \"$SKYG_LIB\" *"
fi
'';
};
}