Re: Re (2): Shell function.

2025-05-16 Thread tomas
On Fri, May 16, 2025 at 11:41:00AM -0400, Greg Wooledge wrote: > On Fri, May 16, 2025 at 08:05:50 -0700, pe...@easthope.ca wrote: > > Currently have this. > > ev () { /usr/bin/evince "$@" & } > > > > DISPLAY is set in .bashrc now. Not needed in trivial functions. > > Why are you setting the DISP

Re: Re (2): Shell function.

2025-05-16 Thread Greg Wooledge
On Fri, May 16, 2025 at 08:05:50 -0700, pe...@easthope.ca wrote: > Currently have this. > ev () { /usr/bin/evince "$@" & } > > DISPLAY is set in .bashrc now. Not needed in trivial functions. Why are you setting the DISPLAY variable? That sounds like a really bad idea. Or, at best, it's only vi