rearange sz.env and optimize for zsh
This commit is contained in:
parent
39a136f9e9
commit
0acdc146c4
29 changed files with 144 additions and 100 deletions
|
@ -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:
|
Loading…
Add table
Add a link
Reference in a new issue