1
0
Fork 0

remove completions in .zsh file, add to PATH

This commit is contained in:
Maurice Audin 2024-12-10 14:57:19 +01:00
parent 26defaa2db
commit ecadd785dd

View file

@ -44,13 +44,7 @@ export LOGCHECK=60
export READNULLCMD=${PAGER:-/usr/bin/pager} export READNULLCMD=${PAGER:-/usr/bin/pager}
export WATCH=all export WATCH=all
export WATCHFMT="%n has %a %l from %M" export WATCHFMT="%n has %a %l from %M"
export PATH=$HOME/.scripts:$INFRA/bin:$INFRA/service/xen:$PATH export PATH=$HOME/.scripts:$INFRA/bin:$INFRA/service/docker/bin:$INFRA/service/xen:$PATH
# Some completion functions
_complete_bt-host() {reply=($(ls $INFRA/host))}
compctl -K _complete_bt-host bt-dom0
compctl -K _complete_bt-host infra host
compctl -K _complete_bt-host bt-release
# Fix for compdef, taken from https://github.com/seletskiy/zsh-zgen-compinit-tweak # Fix for compdef, taken from https://github.com/seletskiy/zsh-zgen-compinit-tweak
autoload -Uz compinit && compinit -C autoload -Uz compinit && compinit -C