From e3f77f63354635b0e23fd171744c1bb96e62d411 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Tue, 18 Feb 2020 12:18:56 -0700 Subject: shell quote args & add -t for good measure --- .bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index ae46c95c..f351f93b 100644 --- a/.bashrc +++ b/.bashrc @@ -81,7 +81,8 @@ alias test-package-plan="cabal --no-require-sandbox update \ # upstream alias sbuild-prerelease="sbuild --dpkg-source-opts='-Zgzip -z1 --format=1.0 -sn'" # this is useful for processing removal requests -command -v dak >/dev/null || alias dak="ssh ftp-master.debian.org dak" +command -v dak >/dev/null \ + || alias dak="perl -MString::ShellQuote -we'system qw(ssh -t ftp-master.debian.org dak), shell_quote @ARGV'" # alias develacc='sudo machinectl shell spw@develacc \ # $(sudo enter-develacc /bin/sh -c "getent passwd spw | cut -d: -f7")' -- cgit v1.2.3