summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 82013853..0e1eea79 100644
--- a/.bashrc
+++ b/.bashrc
@@ -288,10 +288,13 @@ if [ -d "/srv/ftp-master.debian.org" ]; then
pn () {
cd /srv/ftp-master.debian.org/queue/new
+ # we need VISUAL=emacsclient because dak's utils.call_editor
+ # fails when VISUAL contains both the editor's name and some
+ # arguments to it, as mine does
if [[ $1 ]]; then
- dak process-new "$1"*changes
+ VISUAL=emacsclient dak process-new "$1"*changes
else
- dak process-new
+ VISUAL=emacsclient dak process-new
fi
}
fi