X-Git-Url: https://fpunktk.de/gitweb/?p=travelrc.git;a=blobdiff_plain;f=README.md;fp=README.md;h=c19713b91377c59ee88b6ed3a6623087b60c698f;hp=60a44cc3c4b343fd4861b3cb8dea762619fd3a90;hb=05f2f273f32ddd30fc86d4b8f0c7fdf453fd3a3e;hpb=2c188f9a007a1836ed4aa2132eb91e27d3d8618e diff --git a/README.md b/README.md index 60a44cc..c19713b 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ minify-trc() { find "$trc_min_dir/" -type f -exec sed --in-place -e 's/^ *#[^!].*$//' -e 's/ \+# .*$//' '{}' '+' # minify all files as if they were shell scripts echo "$trc_min_dir" } - + trccmd() { # echo all the commands to travel with rc files, arguments act as additional arguments to tar local trc_min_dir="$(minify-trc)" @@ -101,7 +101,7 @@ tssh() { ssh -t "$@" "$(trccmd --xz)" } complete -F _ssh tssh # this is the same as for ssh; function _ssh might not exist when this is called, but will be created automagically when requesting completion for ssh - + tdocker() { local dcmd="$1" shift @@ -109,7 +109,7 @@ tdocker() { docker "$dcmd" --interactive --tty "$@" bash -c "$(trccmd --gzip)" } # TODO: add completion - + tsu() { # travel substitude user local next_user="${1:-root}" local tsu_cmd="$(mktemp "/tmp/.tsu-cmd.XXXXXX")"