commit 0c020913f4eb2ea408b5cda5c4e9b7f2d540b73d parent ffe97053a596b765948776c04a7743c81f5cf8ec Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 27 Dec 2018 18:48:05 +0100 Fix t-stop issue Diffstat:
M | links/.commands.sh | | | 12 | +++++++++--- |
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/links/.commands.sh b/links/.commands.sh @@ -189,8 +189,14 @@ transfer() { # use transfer.sh to share files over the net echo "" } -alias t-add='transmission-remote --add --download-dir $PWD --encryption-required' -alias t-list='transmission-remote --list' -alias t-stop='transmission-remote --stop --torrent' +t-add() { + transmission-remote --add --download-dir $PWD --encryption-required +} +t-list() { + transmission-remote --list +} +t-stop() { + transmission-remote --torrent $@ --stop +} [ -f ~/.shortcuts ] && source ~/.shortcuts