diff options
author | Adam Hovorka <[email protected]> | 2018-10-03 09:34:34 -0600 |
---|---|---|
committer | Adam Hovorka <[email protected]> | 2018-10-03 09:34:34 -0600 |
commit | 5a0b1fca1ddbcff5088f9db13b9c1b853e0a9369 (patch) | |
tree | af8307434b0faa504822568ca8fbaafcef305353 /base/zsh/functions.zsh | |
parent | 37e570357c2091acc606233f7ac8456c56b4831e (diff) |
Add universal trc function
Diffstat (limited to 'base/zsh/functions.zsh')
-rw-r--r-- | base/zsh/functions.zsh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/base/zsh/functions.zsh b/base/zsh/functions.zsh index db4271e..18ea8b4 100644 --- a/base/zsh/functions.zsh +++ b/base/zsh/functions.zsh @@ -25,3 +25,11 @@ hex() { if [[ -n "$1" ]]; then printf "%X\n" $1 else print 'Usage: hex <number-to-convert>'; fi } + +trc() { + if [[ `uname -n` = "aristotle" ]]; then + transmission-remote-client + else + ssh dhd.ahov.co ssh aristotle transmission-remote-client + fi +} |