* feat(tmux): prefix + C-x to toggle synchronize-panes
* feat(riot-cfg): nasp domain username to root
* feat(vimrc): ^N to switch between nu/rnu/null
* feat(zshrc): VIRTUAL_ENV_DISABLE_PROMPT set
* fix(sagent): secure file location
* ci: remove schedule run for gitee_sync
* fix(vimrc): syntax highlighting
* feat(zshrc): move time style from l to ls
* fix(riot-config): ibd.ink -> dxng.net
* fix: ci
---------
Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
* riot: remove unknown domain warn
* install.sh: --no-ssh -> --no-auth-info
* doll: --restart=unless-stopped
* zshrc: alias cps and mvs
* riot: proxy -> ssh
* zshrc: not alias rm to trash
* (trial) riot devel: separate preset to config dir riot.d
* riot: support extra options and extra -o options
* (experimental) riot config in a single file
* riot config: add nasp remote and null domain
* gitconf: pull.ff = only
* fix ci
* riot: dynamic port forwarding
* riot: only one domain func will be exec
* to-install: update lemonbench
* to-install: alist
* [exp] riot inferred ssh: ping ping6
* sagt: fix nixos
* riot config: domain 42
* ubuntu.sh: DEBIAN_FRONTEND=noninteractive
* zshrc: ping -n
* zshrc: alias ping -n
* riot-config: jumpserver from sir0 to ssh.beardic.cn
* zshrc: alias ping before checking os type
* frigg: support api4.beardic.cn
* fix(install.sh): crontab fails on a new server
* fix(riot-conf): nasp.ob.ac.cn -> nasp.fit
* fix(install.sh): install crontab (exp)
* feat(test.zsh): test crontab
* fix(riot): secure control master
* fix(ci): riot control master
* fix(riot): not mkdir if dry-run
* feat(vimrc): set shiftwidth=4
* feat(ci): sync tmux-yank
* feat(tmux): set-clipboard on and mouse on (experimental)
* feat(zshrc): alias ping6
* build(ci): hub mirror 1.3->1.4
* fix(zshrc): tmux on msys; feat(common): better perf getting os type and linux dist
* fix(common.sh): get_os_type and get_linux_dist
* feat(zshrc): add plugin {magic-enter,per-directory-history,pip,podman,python,rsync,systemd,timer}
* feat(zshrc): journalctl alias
* feat(vimrc): tab=2 for c,cpp,nix,yaml
* build(ci): checkout v3 -> v4
---------
Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
* auth: add .eid/authorized_certificates for pam pkcs11 auth
* .zshrc: alias sl for sudo zsh -l
* to-install: nix
* zshrc: use gnu ls on mac
* zshrc: try to use gnu-ls
* try to fix ci for macos
* riot: add domain box[0-9]
* riot: shortcuts i,x,j
* .zshrc: warn if not in main channel
* sagt: reset agent so paths
* sagt: import ssh-agent -P paths
* common.sh: is_port_free and get_free_port
* riot use get_free_port to fix issue on windows
* riot: ssh support instant command
* riot: proxy delimiter from comma (,) to slash (/)
* riot: support multiple remotes, delimiter=comma (,)
* riot: fix ci; install.sh: --no-ssh
* riot: improve ci
---------
Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
* riot: add . for .ibd and non for proxied
* riot: 'user@..' to overwrite username, '...:22' to overwrite port, treat the arg as server name if it doesn't match any preset, sshl can accept only a port number and default to use localhost
* update.sh: ddns sleep for random seconds to avoid burst
* riot: support zssh and sftp, and set ssh options according to trust settings
* riot: add scp
* riot: support jump servers, sep by commas
* common.sh: argparser supports -d/--dev and -D/--dry-run
* install.sh: remove -s/--secure because of no use
* riot: if remote ends with dot, treat it as a full-hostname; add tests
* sagent.sh: refuse to work on windows
---------
Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
* riot: bj1 -> proxy
* ci: test ask_for_yn
* --wip-- [skip ci]
* install.sh: will prompt version
* zshrc: piv-agent now can re-use agents
* zshrc: in docker use theme robbyrussell
* update.sh: will send online beacon
* beacon: support meta with limited len 64
* bug fix (Sat Jan 21 16:45:35 CST 2023)
* well, finally add ssh key for ltp1-bd
* set DFS_INITED and do not send login beacon if it was set
* rewrite piv-agent to sagent; fmt_note and fmt_into will write to stderr
* bug fix (Mon Jan 30 19:41:00 CST 2023)
* bug fix (Mon Jan 30 19:46:27 CST 2023)
* login beacon add details
* $DFS_ORPHAN turns logger off
* disable more beacons in CI
* install.sh: prepare config earlier
* init pbin
* install.sh: -H|--hist|--history
* install.sh: -H hint
* install.sh: -H support multiple keys
* fix zsh hist with no new line at the end
* remove ^M in hist
* bug fix (Wed Feb 1 21:11:41 CST 2023)
* bug fix (Wed Feb 1 21:16:29 CST 2023)
* bug fix (Wed Feb 1 21:20:21 CST 2023)
* ci will send gh.ci.fail
* show install opts
* DFS_DEBUG to set -x
* bug fix: install.sh re-start itself with no args incorrectly
* bug fix (Thu Feb 2 18:43:16 CST 2023)
* riot: ob->ebd, swap option $1 and $2 and $2 is default to ssh
* riot: introduce sshl
* logger.sh: support ddns
* bug fix (Wed Mar 1 16:37:42 CST 2023)
* dfs.ddns.failed -> dfs.ddns.fail
* login beacon 2>/dev/null
* logger.sh -> frigg-client.sh; curl add time limit 10s
* to-install.sh: improve docker-ce
* use $DFS_CURL_OPTIONS
* ci: add ddns
* bug fix (Wed Mar 15 19:37:21 CST 2023)
* Revert "bug fix (Wed Mar 15 19:37:21 CST 2023)"
This reverts commit 2df87ce1a8.
* Revert "ci: add ddns"
This reverts commit 4fe8321504.
* alias cbd and cbds, riot nasp port to 12022
* .zshrc: sagent -> sagt
* fix ci
* riot: bug fix when 'tmp' has leading zeros
* add ci for cbds
---------
Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
* update.sh: fetch will prune
* log: use hostname directly
* refactor log.py to logger.sh (#31)
* logger.sh: refactor log.py to bash script
* update.sh use beacon; ci test beacon
* install.sh: install dep first
* install.sh: DFS_UPDATED_RET=85
* more beacon; use stderr
* remove py3 dep
* install.sh: remove py3
* install.sh: -s|--secure
* async log; beacon add sys.login
* update use sync beacon
* fix ci minor bug; macos: uuidgen/e2fsprogs
* logger.sh: not need to use uuid5
* bug fix
* dfs err_return
* common.sh: post_log and post_beacon will check #args
* bug fix
* zshrc: fix locale when C.UTF-8 not exists
* WIP: combine install -a and tools/ scripts
* finish combination; get_os_name; macos.sh
* test.ci: now all use -a to install deps
* bug fix
* bug fix; ci: install.sh run with -x
* install.sh: bug fix that re-run install.sh after updated needs orgin args
* format
Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
* dogo/doll
dogo supports zsh/bash/sh; doll is introduced to launch a new docker
container; update $SUDO in command.sh
* update ci
* fix regex
* dogo: enhance, support -[0-9]*
* dogo&doll: enhanced
* zshrc: sibd and sob
* rebase zshrc, introduce DFS_NO_WALL
* improve ci
* improve ci
* improve ci
* update antigen url for DFS_NO_WALL
* OK
* improve ci for macos
* improve test.zsh
* staged
* fix ci
* fix ci
* use local vars
* introduce DFS_QUIET
* mass mod install.sh
* minor change
* set DFS_DEV=1 to prevent update
* debug: done -> fi
* fix DFS_DEV
* ubuntu.sh: set-mirror (ref: tuna)
* preinstall_check
* install.sh: -q to be quiet
* install.sh: -d to DFS_DEV
Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
* init tools tools/ubuntu.sh
* init tools/install.sh and adding ssh to tools/ubuntu.sh
* more in tools/install.sh; .tmux.conf
* ping alias
* tmux customization; tpm auto install; zsh key binding for HOME and END; .gitignore .zwc
* ubuntu.sh: gcc g++ cmake