-- Boyan Penkov www.boyanpenkov.com > On Jan 11, 2017, at 11:53 PM, David Wright <deb...@lionunicorn.co.uk> wrote: > > On Wed 11 Jan 2017 at 22:38:48 (-0500), kamaraju kusumanchi wrote: > >> >> >> So the sequence of commands would be >> >> % unalias edit >> % reportbug & >> % alias edit='emacsclient -c -s /tmp/emacs1000/server' > > If you're going to do it that way, you've really got to > interrogate the old value and restore it afterwards, rather > than having edit defined in two places. Otherwise, how do > you keep them in sync.
I did feel the same way, but was going to simply re-source my .zshrc after the report bug run is over. > > Most people wouldn't run reportbug often enough to worry > about a subshell, would they? > > Cheers, > David. >