[PATCH] Re: FEATURE REQ: Add BZREDITOR
Rob Browning
rlb at defaultvalue.org
Fri Sep 16 23:33:44 BST 2005
Jari Aalto <jari.aalto at cante.net> writes:
> But I do need Emacs power to edit my long and lengthy bug reports,
> that attach files and examine environment variables when I report
> Linux distribution bugs (that use EDITOR to write the bug report).
Do you alternate often enough from the same prompt that it wouldn't be
sufficient to just set EDITOR in a given terminal and not export it,
or perhaps just use
$ EDITOR=foo command
whenever you want an editor that's not the default?
Another approach might be to create your own ~/bin/bzr with the
appropriate override:
#!/bin/bash
EDITOR=foo
exec bzr "$@"
or
#!/bin/bash
EDITOR=${BZREDITOR:-emacs}
exec bzr "$@"
or similar.
--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
More information about the bazaar
mailing list