version=pmwiki-2.2.130 ordered=1 urlencoded=1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 author=miniontoby charset=UTF-8 csum=updated url ctime=1640102470 host=45.136.74.157 name=Ksh.Autocomplete rev=7 targets= text=At ksh there is a way to add auto completion%0a%0a%0aUse my new installer which installs the newest version of the .ksh_completions file into all of your users:%0a%0a[@%0a$ wget -O ksh-completion-installer.sh "https://gotweb.ircforever.org/cgi-bin/gotweb/gotweb?path=ksh-completion.git&action=blob&commit=1d3af82c873d57cf5e06319537281bef28ba1522&file=install.sh"%0a$ ksh ksh-completion-installer.sh%0a@]%0a%0a time=1641908654 author:1641908654=miniontoby csum:1641908654=updated url diff:1641908654:1641907953:=7c7%0a%3c $ wget -O ksh-completion-installer.sh "https://gotweb.ircforever.org/cgi-bin/gotweb/gotweb?path=ksh-completion.git&action=blob&commit=1d3af82c873d57cf5e06319537281bef28ba1522&file=install.sh"%0a---%0a> $ wget -O ksh-completion-installer.sh "https://gotweb.ircforever.org/cgi-bin/gotweb/gotweb?path=ksh-completion.git&action=blob&commit=93fd0cff81566691d969181c10cf9a8adb184f03&file=install.sh"%0a host:1641908654=45.136.74.157 author:1641907953=miniontoby diff:1641907953:1641907943:=6,9c6,7%0a%3c [@%0a%3c $ wget -O ksh-completion-installer.sh "https://gotweb.ircforever.org/cgi-bin/gotweb/gotweb?path=ksh-completion.git&action=blob&commit=93fd0cff81566691d969181c10cf9a8adb184f03&file=install.sh"%0a%3c $ ksh ksh-completion-installer.sh%0a%3c @]%0a---%0a> [@ $ wget -O ksh-completion-installer.sh "https://gotweb.ircforever.org/cgi-bin/gotweb/gotweb?path=ksh-completion.git&action=blob&commit=93fd0cff81566691d969181c10cf9a8adb184f03&file=install.sh"%0a> $ ksh ksh-completion-installer.sh @]%0a host:1641907953=45.136.74.157 author:1641907943=miniontoby csum:1641907943=Updated with installer diff:1641907943:1641903383:=4,8c4,223%0a%3c Use my new installer which installs the newest version of the .ksh_completions file into all of your users:%0a%3c %0a%3c [@ $ wget -O ksh-completion-installer.sh "https://gotweb.ircforever.org/cgi-bin/gotweb/gotweb?path=ksh-completion.git&action=blob&commit=93fd0cff81566691d969181c10cf9a8adb184f03&file=install.sh"%0a%3c $ ksh ksh-completion-installer.sh @]%0a%3c %0a---%0a> Firstly add this to your ~/.profile (or ~/.kshrc):%0a> %0a> [@%0a> if [ -e ~/.ksh_completions ]; then%0a> . ~/.ksh_completions%0a> fi%0a> @]%0a> %0a> %0a> Then add this to your [@~/.ksh_completions@] to enable the auto completion:%0a> %0a> [@%0a> function reload_completions {%0a> if [ -e ~/.ksh_completions ]; then . ~/.ksh_completions; fi%0a> }%0a> %0a> set -A complete_got_1 -- $(got -h 2>&1 | sed -n s/commands://p)%0a> set -A complete_git_1 -- $(git help -a | sed -e 's/ //;s/ .*//;s/.*\/.*//;s/.* .*//')%0a> set -A complete_kill_1 -- -9 -HUP -INFO -KILL -TERM%0a> set -A complete_kill_2 -- $(ps ax | sed -e "s/^ *//" -e "s/ .*//")%0a> %0a> pgrep -q vmd%0a> if [ $? = 0 ]; then%0a> set -A complete_vmctl -- console load reload start stop reset status send receive%0a> set -A complete_vmctl_2 -- $(vmctl status | awk '!/NAME/{print $NF}')%0a> fi%0a> %0a> pgrep -q mpd%0a> if [ $? = 0 ]; then%0a> set -A complete_mpc_1 -- lsplaylists ls play pause toggle prev random shuffle stop update%0a> set -A complete_mpc_2 -- $(mpc lsplaylists | sort)%0a> fi%0a> %0a> read_known_hosts() {%0a> local _file=$1 _line _host%0a> while read _line ; do%0a> _line=${_line%25%25#*} # delete comments%0a> _line=${_line%25%25@*} # ignore markers%0a> _line=${_line%25%25 *} # keep only host field%0a> %0a> [[ -z $_line ]] && continue%0a> %0a> local IFS=,%0a> for _host in $_line; do%0a> _host=${_host#\[}%0a> _host=${_host%25%25\]*}%0a> for i in ${HOST_LIST[*]}; do%0a> [[ $_host == $i ]] && continue 2%0a> done%0a> set -s -A HOST_LIST ${HOST_LIST[*]} $_host%0a> done%0a> done %3c$_file%0a> }%0a> %0a> [[ -s /etc/ssh/ssh_known_hosts ]] && read_known_hosts /etc/ssh/ssh_known_hosts%0a> [[ -s ~/.ssh/known_hosts ]] && read_known_hosts ~/.ssh/known_hosts%0a> %0a> set -A complete_ssh -- ${HOST_LIST[*]}%0a> set -A complete_scp -- ${HOST_LIST[*]}%0a> set -A complete_mosh -- ${HOST_LIST[*]}%0a> %0a> if [ -d /var/db/pkg ]; then%0a> PKG_LIST=$(ls -1 /var/db/pkg)%0a> set -A complete_pkg_delete -- $PKG_LIST%0a> set -A complete_pkg_info -- $PKG_LIST%0a> set -A complete_pkg_check -- $PKG_LIST%0a> set -A complete_pkg_add -- $PKG_LIST%0a> fi%0a> %0a> if [ ! -f /tmp/man_list ]; then%0a> MANPATH=/usr/share/man man -k Nm~. | cut -d\( -f1 | tr -d , | sort | uniq > /tmp/man_list%0a> fi%0a> set -A complete_man_1 -- $(cat /tmp/man_list)%0a> %0a> pgrep -fq '/usr/sbin/vmd'%0a> if [ $? = 0 ]; then%0a> set -A complete_vmctl -- console load reload start stop reset status send receive%0a> set -A complete_vmctl_2 -- $(vmctl status | awk '!/NAME/{print $NF}')%0a> fi%0a> %0a> if [ -e /usr/local/bin/rclone ]; then%0a> if [ -f ~/.config/rclone/rclone.conf ]; then%0a> RCLONE_LIST=$(rclone listremotes)%0a> set -A complete_rclone_1 -- \%0a> about authorize \%0a> cachestats cat check cleanup config copy copyto \%0a> copyurl cryptcheck \ cryptdecode \%0a> dbhashsum dedupe delete deletefile \%0a> genautocomplete gendocs \%0a> hashsum help \%0a> link listremotes ls lsd lsf lsjson lsl \%0a> md5sum mkdir move moveto \%0a> ncdu \%0a> obscure \%0a> purge \%0a> rc rcat rcd rmdir rmdirs \%0a> serve settier sha1sum size sync \%0a> touch tree \%0a> version%0a> set -A complete_rclone -- $RCLONE_LIST%0a> fi%0a> fi%0a> %0a> if [ -x /usr/rbin/rcctl ]; then%0a> set -A complete_rcctl_1 -- disable enable get ls order set restart start stop%0a> set -A complete_rcctl_2 -- $(rcctl ls all)%0a> fi%0a> %0a> set -A complete_make_1 -- \%0a> clean \%0a> install \%0a> port-lib-depends-check \%0a> reinstall \%0a> repackage%0a> %0a> set -A complete_rcctl_1 -- disable enable get ls order set restart start stop%0a> set -A complete_rcctl_2 -- $(rcctl ls all)%0a> %0a> set -A complete_signify_1 -- -C -G -S -V%0a> set -A complete_signify_2 -- -q -p -x -c -m -t -z%0a> set -A complete_signify_3 -- -p -x -c -m -t -z%0a> %0a> set -A complete_make_1 -- install clean repackage reinstall%0a> %0a> set -A complete_beet_1 -- as clearart config duplicates embedart extractart fetchart fields fingerprint help import lastgenre list lyrics \%0a> mbsync missing modify move mpdstats remove scrub splupdate stats submit update version web write%0a> %0a> set -A complete_emacs -- --daemon --debug-init%0a> set -A complete_emacsclient -- -c -t%0a> %0a> set -A complete_gpg2 -- \%0a> --armor \%0a> --clearsign \%0a> --decrypt \%0a> --detach-sig \%0a> --list-key \%0a> --receive-keys \%0a> --refresh \%0a> --sign \%0a> --verify%0a> %0a> %0a> if [ -f /dev/mixer ]; then%0a> set -A complete_mixerctl_1 -- $(mixerctl | cut -d= -f 1)%0a> fi%0a> %0a> if [ -d ~/.dynamic-colors ]; then%0a> set -A complete_dynamic_colors -- \%0a> audit \%0a> create cycle \%0a> edit \%0a> help \%0a> init \%0a> list \%0a> switch%0a> set -A complete_dynamic_colors_2 -- $(dynamic_colors list)%0a> fi%0a> %0a> if [ -e /usr/local/bin/opm ]; then%0a> if [ -d ~/.opm ]; then%0a> set -A complete_opm_1 -- -b -c -d -h -m \%0a> add \%0a> del \%0a> encrypt \%0a> get \%0a> insert \%0a> list ls \%0a> rm \%0a> search show \%0a> verify%0a> set -A complete_opm -- $(/usr/local/bin/opm -b ls)%0a> fi%0a> fi%0a> %0a> if [ -e /usr/local/bin/gopass ]; then%0a> PASS_LIST=$(gopass ls -f)%0a> set -A complete_gopass -- $PASS_LIST \%0a> audit \%0a> bin binary \%0a> clone completion config copy cp create \%0a> delete \%0a> edit \%0a> find fix fsck \%0a> generate git grep \%0a> h help hotp \%0a> init insert \%0a> jsonapi \%0a> list ls \%0a> mounts move mv \%0a> new \%0a> otp \%0a> recipients remove rm \%0a> search set setup show sync \%0a> templates totp \%0a> unclip update \%0a> version%0a> set -A complete_pass -- $PASS_LIST \%0a> audit \%0a> bin binary \%0a> clone completion config copy cp create \%0a> delete \%0a> edit \%0a> find fix fsck \%0a> generate git grep \%0a> h help hotp \%0a> init insert \%0a> jsonapi \%0a> list ls \%0a> mounts move mv \%0a> new \%0a> otp \%0a> recipients remove rm \%0a> search set setup show sync \%0a> templates totp \%0a> unclip update \%0a> version%0a> fi%0a> %0a> set -A complete_hg_1 -- add annotate clone commit diff export forget help init log merge pull push remove serve status summary update%0a> @]%0a\ No newline at end of file%0a host:1641907943=45.136.74.157 author:1641903383=miniontoby csum:1641903383=Updated diff:1641903383:1641902744:=17c17%0a%3c if [ -e ~/.ksh_completions ]; then . ~/.ksh_completions; fi%0a---%0a> if [ -e ~/.ksh_completions ]; then . ~/.ksh_completions; fi%0a19a20,21%0a> PKG_LIST=$(ls -1 /var/db/pkg)%0a> %0a24c26,38%0a%3c %0a---%0a> set -A complete_rcctl_1 -- -df get getdef set check reload restart stop start disabled enable order ls%0a> set -A complete_rcctl_2 -- $(rcctl ls all)%0a> set -A complete_pkg_delete -- $PKG_LIST%0a> set -A complete_pkg_info -- $PKG_LIST%0a> set -A complete_signify_1 -- -C -G -S -V%0a> set -A complete_signify_2 -- -q -p -x -c -m -t -z%0a> set -A complete_signify_3 -- -p -x -c -m -t -z%0a> set -A complete_make_1 -- install clean repackage reinstall%0a> set -A complete_beet_1 -- clearart config duplicates embedart extractart fetchart fields fingerprint help import lastgenre list lyrics mbsync missing modify move mpdstats remove scrub splupdate as stats submit update version web write%0a> set -A complete_emacs -- --daemon --debug-init%0a> set -A complete_emacsclient -- -c -t%0a> set -A complete_ifconfig_1 -- $(ifconfig | grep ^[a-z] | cut -d: -f1)%0a> %0a27,28c41,42%0a%3c set -A complete_vmctl -- console load reload start stop reset status send receive%0a%3c set -A complete_vmctl_2 -- $(vmctl status | awk '!/NAME/{print $NF}')%0a---%0a> set -A complete_vmctl -- console load reload start stop reset status send receive%0a> set -A complete_vmctl_2 -- $(vmctl status | awk '!/NAME/{print $NF}')%0a33,34c47,48%0a%3c set -A complete_mpc_1 -- lsplaylists ls play pause toggle prev random shuffle stop update%0a%3c set -A complete_mpc_2 -- $(mpc lsplaylists | sort)%0a---%0a> set -A complete_mpc_1 -- lsplaylists ls play pause toggle prev random shuffle stop update%0a> set -A complete_mpc_2 -- $(mpc lsplaylists | sort)%0a36,222d49%0a%3c %0a%3c read_known_hosts() {%0a%3c local _file=$1 _line _host%0a%3c while read _line ; do%0a%3c _line=${_line%25%25#*} # delete comments%0a%3c _line=${_line%25%25@*} # ignore markers%0a%3c _line=${_line%25%25 *} # keep only host field%0a%3c %0a%3c [[ -z $_line ]] && continue%0a%3c %0a%3c local IFS=,%0a%3c for _host in $_line; do%0a%3c _host=${_host#\[}%0a%3c _host=${_host%25%25\]*}%0a%3c for i in ${HOST_LIST[*]}; do%0a%3c [[ $_host == $i ]] && continue 2%0a%3c done%0a%3c set -s -A HOST_LIST ${HOST_LIST[*]} $_host%0a%3c done%0a%3c done %3c$_file%0a%3c }%0a%3c %0a%3c [[ -s /etc/ssh/ssh_known_hosts ]] && read_known_hosts /etc/ssh/ssh_known_hosts%0a%3c [[ -s ~/.ssh/known_hosts ]] && read_known_hosts ~/.ssh/known_hosts%0a%3c %0a%3c set -A complete_ssh -- ${HOST_LIST[*]}%0a%3c set -A complete_scp -- ${HOST_LIST[*]}%0a%3c set -A complete_mosh -- ${HOST_LIST[*]}%0a%3c %0a%3c if [ -d /var/db/pkg ]; then%0a%3c PKG_LIST=$(ls -1 /var/db/pkg)%0a%3c set -A complete_pkg_delete -- $PKG_LIST%0a%3c set -A complete_pkg_info -- $PKG_LIST%0a%3c set -A complete_pkg_check -- $PKG_LIST%0a%3c set -A complete_pkg_add -- $PKG_LIST%0a%3c fi%0a%3c %0a%3c if [ ! -f /tmp/man_list ]; then%0a%3c MANPATH=/usr/share/man man -k Nm~. | cut -d\( -f1 | tr -d , | sort | uniq > /tmp/man_list%0a%3c fi%0a%3c set -A complete_man_1 -- $(cat /tmp/man_list)%0a%3c %0a%3c pgrep -fq '/usr/sbin/vmd'%0a%3c if [ $? = 0 ]; then%0a%3c set -A complete_vmctl -- console load reload start stop reset status send receive%0a%3c set -A complete_vmctl_2 -- $(vmctl status | awk '!/NAME/{print $NF}')%0a%3c fi%0a%3c %0a%3c if [ -e /usr/local/bin/rclone ]; then%0a%3c if [ -f ~/.config/rclone/rclone.conf ]; then%0a%3c RCLONE_LIST=$(rclone listremotes)%0a%3c set -A complete_rclone_1 -- \%0a%3c about authorize \%0a%3c cachestats cat check cleanup config copy copyto \%0a%3c copyurl cryptcheck \ cryptdecode \%0a%3c dbhashsum dedupe delete deletefile \%0a%3c genautocomplete gendocs \%0a%3c hashsum help \%0a%3c link listremotes ls lsd lsf lsjson lsl \%0a%3c md5sum mkdir move moveto \%0a%3c ncdu \%0a%3c obscure \%0a%3c purge \%0a%3c rc rcat rcd rmdir rmdirs \%0a%3c serve settier sha1sum size sync \%0a%3c touch tree \%0a%3c version%0a%3c set -A complete_rclone -- $RCLONE_LIST%0a%3c fi%0a%3c fi%0a%3c %0a%3c if [ -x /usr/rbin/rcctl ]; then%0a%3c set -A complete_rcctl_1 -- disable enable get ls order set restart start stop%0a%3c set -A complete_rcctl_2 -- $(rcctl ls all)%0a%3c fi%0a%3c %0a%3c set -A complete_make_1 -- \%0a%3c clean \%0a%3c install \%0a%3c port-lib-depends-check \%0a%3c reinstall \%0a%3c repackage%0a%3c %0a%3c set -A complete_rcctl_1 -- disable enable get ls order set restart start stop%0a%3c set -A complete_rcctl_2 -- $(rcctl ls all)%0a%3c %0a%3c set -A complete_signify_1 -- -C -G -S -V%0a%3c set -A complete_signify_2 -- -q -p -x -c -m -t -z%0a%3c set -A complete_signify_3 -- -p -x -c -m -t -z%0a%3c %0a%3c set -A complete_make_1 -- install clean repackage reinstall%0a%3c %0a%3c set -A complete_beet_1 -- as clearart config duplicates embedart extractart fetchart fields fingerprint help import lastgenre list lyrics \%0a%3c mbsync missing modify move mpdstats remove scrub splupdate stats submit update version web write%0a%3c %0a%3c set -A complete_emacs -- --daemon --debug-init%0a%3c set -A complete_emacsclient -- -c -t%0a%3c %0a%3c set -A complete_gpg2 -- \%0a%3c --armor \%0a%3c --clearsign \%0a%3c --decrypt \%0a%3c --detach-sig \%0a%3c --list-key \%0a%3c --receive-keys \%0a%3c --refresh \%0a%3c --sign \%0a%3c --verify%0a%3c %0a%3c %0a%3c if [ -f /dev/mixer ]; then%0a%3c set -A complete_mixerctl_1 -- $(mixerctl | cut -d= -f 1)%0a%3c fi%0a%3c %0a%3c if [ -d ~/.dynamic-colors ]; then%0a%3c set -A complete_dynamic_colors -- \%0a%3c audit \%0a%3c create cycle \%0a%3c edit \%0a%3c help \%0a%3c init \%0a%3c list \%0a%3c switch%0a%3c set -A complete_dynamic_colors_2 -- $(dynamic_colors list)%0a%3c fi%0a%3c %0a%3c if [ -e /usr/local/bin/opm ]; then%0a%3c if [ -d ~/.opm ]; then%0a%3c set -A complete_opm_1 -- -b -c -d -h -m \%0a%3c add \%0a%3c del \%0a%3c encrypt \%0a%3c get \%0a%3c insert \%0a%3c list ls \%0a%3c rm \%0a%3c search show \%0a%3c verify%0a%3c set -A complete_opm -- $(/usr/local/bin/opm -b ls)%0a%3c fi%0a%3c fi%0a%3c %0a%3c if [ -e /usr/local/bin/gopass ]; then%0a%3c PASS_LIST=$(gopass ls -f)%0a%3c set -A complete_gopass -- $PASS_LIST \%0a%3c audit \%0a%3c bin binary \%0a%3c clone completion config copy cp create \%0a%3c delete \%0a%3c edit \%0a%3c find fix fsck \%0a%3c generate git grep \%0a%3c h help hotp \%0a%3c init insert \%0a%3c jsonapi \%0a%3c list ls \%0a%3c mounts move mv \%0a%3c new \%0a%3c otp \%0a%3c recipients remove rm \%0a%3c search set setup show sync \%0a%3c templates totp \%0a%3c unclip update \%0a%3c version%0a%3c set -A complete_pass -- $PASS_LIST \%0a%3c audit \%0a%3c bin binary \%0a%3c clone completion config copy cp create \%0a%3c delete \%0a%3c edit \%0a%3c find fix fsck \%0a%3c generate git grep \%0a%3c h help hotp \%0a%3c init insert \%0a%3c jsonapi \%0a%3c list ls \%0a%3c mounts move mv \%0a%3c new \%0a%3c otp \%0a%3c recipients remove rm \%0a%3c search set setup show sync \%0a%3c templates totp \%0a%3c unclip update \%0a%3c version%0a%3c fi%0a%3c %0a%3c set -A complete_hg_1 -- add annotate clone commit diff export forget help init log merge pull push remove serve status summary update%0a host:1641903383=45.136.74.157 author:1641902744=miniontoby csum:1641902744=updated diff:1641902744:1640102568:=3,5c3,8%0a%3c %0a%3c Firstly add this to your ~/.profile (or ~/.kshrc):%0a%3c %0a---%0a> Here is a list with commands to add to your [@~/.profile@] to enable the auto completion:%0a> %0a> %0a> '+'''Warning: If you do not have the commands installed (like vmctl), then DON'T add them!'''+'%0a> %0a> %0a7,21d9%0a%3c if [ -e ~/.ksh_completions ]; then%0a%3c . ~/.ksh_completions%0a%3c fi%0a%3c @]%0a%3c %0a%3c %0a%3c Then add this to your [@~/.ksh_completions@] to enable the auto completion:%0a%3c %0a%3c [@%0a%3c function reload_completions {%0a%3c if [ -e ~/.ksh_completions ]; then . ~/.ksh_completions; fi%0a%3c }%0a%3c %0a%3c PKG_LIST=$(ls -1 /var/db/pkg)%0a%3c %0a26,49c14,17%0a%3c set -A complete_rcctl_1 -- -df get getdef set check reload restart stop start disabled enable order ls%0a%3c set -A complete_rcctl_2 -- $(rcctl ls all)%0a%3c set -A complete_pkg_delete -- $PKG_LIST%0a%3c set -A complete_pkg_info -- $PKG_LIST%0a%3c set -A complete_signify_1 -- -C -G -S -V%0a%3c set -A complete_signify_2 -- -q -p -x -c -m -t -z%0a%3c set -A complete_signify_3 -- -p -x -c -m -t -z%0a%3c set -A complete_make_1 -- install clean repackage reinstall%0a%3c set -A complete_beet_1 -- clearart config duplicates embedart extractart fetchart fields fingerprint help import lastgenre list lyrics mbsync missing modify move mpdstats remove scrub splupdate as stats submit update version web write%0a%3c set -A complete_emacs -- --daemon --debug-init%0a%3c set -A complete_emacsclient -- -c -t%0a%3c set -A complete_ifconfig_1 -- $(ifconfig | grep ^[a-z] | cut -d: -f1)%0a%3c %0a%3c pgrep -q vmd%0a%3c if [ $? = 0 ]; then%0a%3c set -A complete_vmctl -- console load reload start stop reset status send receive%0a%3c set -A complete_vmctl_2 -- $(vmctl status | awk '!/NAME/{print $NF}')%0a%3c fi%0a%3c %0a%3c pgrep -q mpd%0a%3c if [ $? = 0 ]; then%0a%3c set -A complete_mpc_1 -- lsplaylists ls play pause toggle prev random shuffle stop update%0a%3c set -A complete_mpc_2 -- $(mpc lsplaylists | sort)%0a%3c fi%0a---%0a> set -A complete_rcctl -- -df get getdef set check reload restart stop start disabled enable order ls%0a> set -A complete_rcctl_2 -- $(ls /etc/rc.d)%0a> set -A complete_vmctl_1 -- console load reload start stop reset status%0a> set -A complete_vmctl_2 -- $(vmctl status | awk '!/NAME/{print $NF}')%0a host:1641902744=45.136.74.157 author:1640102568=miniontoby csum:1640102568=added rcctl2 diff:1640102568:1640102470:=15d14%0a%3c set -A complete_rcctl_2 -- $(ls /etc/rc.d)%0a host:1640102568=45.136.74.157 author:1640102470=miniontoby csum:1640102470=Created diff:1640102470:1640102470:=1,17d0%0a%3c At ksh there is a way to add auto completion%0a%3c %0a%3c Here is a list with commands to add to your [@~/.profile@] to enable the auto completion:%0a%3c %0a%3c %0a%3c '+'''Warning: If you do not have the commands installed (like vmctl), then DON'T add them!'''+'%0a%3c %0a%3c %0a%3c [@%0a%3c set -A complete_got_1 -- $(got -h 2>&1 | sed -n s/commands://p)%0a%3c set -A complete_git_1 -- $(git help -a | sed -e 's/ //;s/ .*//;s/.*\/.*//;s/.* .*//')%0a%3c set -A complete_kill_1 -- -9 -HUP -INFO -KILL -TERM%0a%3c set -A complete_kill_2 -- $(ps ax | sed -e "s/^ *//" -e "s/ .*//")%0a%3c set -A complete_rcctl -- -df get getdef set check reload restart stop start disabled enable order ls%0a%3c set -A complete_vmctl_1 -- console load reload start stop reset status%0a%3c set -A complete_vmctl_2 -- $(vmctl status | awk '!/NAME/{print $NF}')%0a%3c @]%0a\ No newline at end of file%0a host:1640102470=45.136.74.157