diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-19 19:58:22 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-19 19:58:22 -0700 |
commit | 79d391033ed68b87c8b26670ab32b303a3535149 (patch) | |
tree | b6d0a88c1a50cae40a5b3a4cb535f24796b1f392 /.bashrc | |
parent | bd18210a085fd87d3a95371951b3613218b3d561 (diff) | |
download | dotfiles-79d391033ed68b87c8b26670ab32b303a3535149.tar.gz |
pn: set VISUAL=emacsclient
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |