mirror of
https://github.com/notwa/rc
synced 2024-11-13 20:19:03 -08:00
remove crawl
file and instead download it as needed
long time coming
This commit is contained in:
parent
7e41ababec
commit
62209cb124
2 changed files with 10 additions and 29 deletions
12
home/shrc
12
home/shrc
|
@ -130,11 +130,19 @@ clone() ### @- invoke rsync suitably for creating virtually indistinguishable co
|
|||
aligntabs() ### @- align tab-delimited fields in stdin.
|
||||
{ column -t -s$'\t' "$@"; }
|
||||
|
||||
__crawl() (
|
||||
unset CDPATH && cd "${HOME:?\$HOME is unset}" || return
|
||||
[ -d .ssh ] || install -m700 -d .ssh || return # TODO: use umask instead?
|
||||
cd .ssh || return
|
||||
if ! [ -s crawl ]; then grab crawl && chmod 0600 crawl || return; fi
|
||||
exec ssh -F none -i crawl "$@"
|
||||
)
|
||||
|
||||
crawla() ### @- play Dungeon Crawl: Stone Soup through ssh on the akrasiac server.
|
||||
{ ssh joshua@crawl.akrasiac.org -i ~/.ssh/crawl "$@"; }
|
||||
{ __crawl joshua@crawl.akrasiac.org "$@"; } # password is joshua
|
||||
|
||||
crawlz() ### @- play Dungeon Crawl: Stone Soup through ssh on the develz server.
|
||||
{ ssh crawl@crawl.develz.org -i ~/.ssh/crawl "$@"; }
|
||||
{ __crawl crawl@crawl.develz.org "$@"; }
|
||||
|
||||
diff() ### @- use git's diff subcommand for general diffing.
|
||||
{ git diff --color=auto --no-ext-diff --no-index --no-prefix "$@"; }
|
||||
|
|
27
ssh/crawl
27
ssh/crawl
|
@ -1,27 +0,0 @@
|
|||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEoQIBAAKCAQEA2ztCchPiQL6kRFtk1Rqk/sk1ygnc0PbD6GP1CLOqu/+pD1Dg
|
||||
slIo+TXXxJmX76ChKtk2RanvoSjQQM+igD5cctTXZhWvQrvpOxEucVN9WaE/tl4y
|
||||
8SYYQjov3X3Kr06AASkscSP9mcJp10lxGN+EyFASg7RyCaXOioDAFHZnLy6nkHKl
|
||||
NnWfY1ZEB0V2ujG19v9V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