rearange sz.env and optimize for zsh

This commit is contained in:
Lockszmith (VAST@MacBook) 2025-04-17 15:50:23 -04:00
parent 39a136f9e9
commit 0acdc146c4
29 changed files with 144 additions and 100 deletions

View file

@ -0,0 +1,13 @@
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
BASE_SHELL=${BASE_SHELL:-${SHELL##*/}}
if is_cmd tsh && tsh version | grep -q '^Teleport'; then
tsh-login() {
command tsh login --proxy=teleport.vastdata.com "${@}"
}
. <(tsh --completion-script-${BASE_SHELL})
fi
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4: