2020-03-06 08:01:49 +00:00
|
|
|
#
|
2020-03-28 10:20:34 +00:00
|
|
|
# Example of xxh config file `~/.config/xxh/config.xxhc` (`$XDG_CONFIG_HOME`)
|
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-28 10:20:34 +00:00
|
|
|
# Example `~/.config/xxh/config.xxhc` (`$XDG_CONFIG_HOME`)
|
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
|
2020-04-03 09:20:14 +00:00
|
|
|
# +e: # simple environment variables
|
|
|
|
# - ZSH_THEME="clean" # set ohmyzsh theme
|
|
|
|
# - MYENV="hello world" # another environment variable
|
2020-03-28 10:20:34 +00:00
|
|
|
# +hhh: "~" # use user default home directory on host (/home/user instead of /home/user/.xxh)
|
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-27 16:58:28 +00:00
|
|
|
# +s: xonsh-appimage # 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)
|