diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-18 12:18:56 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-18 12:18:56 -0700 |
commit | e3f77f63354635b0e23fd171744c1bb96e62d411 (patch) | |
tree | 0510debfa1420eb14c7c9e4467d37da25215b962 /.bashrc | |
parent | cf12bad808e0b2da303b292f594f7c9fd0befb4b (diff) | |
download | dotfiles-e3f77f63354635b0e23fd171744c1bb96e62d411.tar.gz |
shell quote args & add -t for good measure
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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")' |