2020-03-06 08:01:49 +00:00
|
|
|
#
|
2020-03-06 19:04:33 +00:00
|
|
|
# Example of xxh config file ~/.xxh/.xxhc
|
2020-03-06 08:01:49 +00:00
|
|
|
#
|
|
|
|
# The `hosts` section contains host names or regular expression patterns to match hostname.
|
|
|
|
#
|
|
|
|
# If hostname in xxh command is matched with many sections the options will be added from all
|
|
|
|
# sections and the options with same name will be overwritten by the last matched section.
|
|
|
|
#
|
|
|
|
# Options without argument should be added in appropriate yaml format but empty.
|
2020-03-12 08:46:08 +00:00
|
|
|
# Example for `+if` mode below.
|
2020-03-06 08:01:49 +00:00
|
|
|
#
|
2020-03-06 10:56:08 +00:00
|
|
|
#--------------------------------------------------------------------------------------------------
|
2020-03-06 19:04:33 +00:00
|
|
|
# Example ~/.xxh/.xxhc
|
2020-03-06 10:56:08 +00:00
|
|
|
#--------------------------------------------------------------------------------------------------
|
|
|
|
#hosts:
|
2020-03-13 13:46:41 +00:00
|
|
|
# myhost: # settings for myhost
|
|
|
|
# -p: 2222 # set special port
|
2020-03-22 10:45:17 +00:00
|
|
|
# +s: xxh-shell-zsh # use zsh shell
|
|
|
|
# +I: xxh-shell-zsh # install xxh-shell before connect
|
|
|
|
# +I: xxh-plugin-zsh-ohmyzsh # install xxh-plugin before connect
|
|
|
|
# +e: ZSH_THEME="clean" # set ohmyzsh theme
|
2020-03-06 10:56:08 +00:00
|
|
|
#
|
2020-03-12 08:45:01 +00:00
|
|
|
# "company-.*": # for all hosts by regex pattern
|
|
|
|
# +if: # don't asking about install (++install-force)
|
2020-03-22 10:45:17 +00:00
|
|
|
# +s: xonsh # use xonsh shell
|
2020-03-13 21:38:03 +00:00
|
|
|
# +hh: /tmp/.xxh # use special xxh home directory (++host-xxh-home)
|
2020-03-14 11:44:51 +00:00
|
|
|
# +hhr: # remove host xxh home after disconnect (++host-xxh-home-remove)
|