summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-07-05 09:06:34 +0100
committerSean Whitton <spwhitton@spwhitton.name>2019-07-05 09:06:34 +0100
commit65d7a59fc2db5614ac66dc571272fd53568db8ce (patch)
tree863cbc1bc64c04abfa82bfbb3b4a3bdfc888c2e3 /.bashrc
parent40742b691b6c6365c180be24ca854279ad09f225 (diff)
downloaddotfiles-65d7a59fc2db5614ac66dc571272fd53568db8ce.tar.gz
restore and improve test-package-plan alias
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index ff948ebd..2743851b 100644
--- a/.bashrc
+++ b/.bashrc
@@ -62,6 +62,9 @@ alias dinstall="curl https://ftp-master.debian.org/dinstall.status;echo -n 'Righ
# use with care, in order for this to actually provide a security advantage
alias update-debian-known-hosts="scp master.debian.org:/etc/ssh/ssh_known_hosts ~/src/dotfiles/.ssh/known_hosts_debian"
alias grepcopy="grep --color=always -Eir '(copyright|©)' * | less -R"
+alias test-package-plan="cabal --no-require-sandbox update \
+ && schroot -c haskell -d $HOME -- /bin/sh -c \
+ \"cd src/package-plan && perl test-packages.pl\""
# alias develacc='sudo machinectl shell spw@develacc \
# $(sudo enter-develacc /bin/sh -c "getent passwd spw | cut -d: -f7")'