[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: jessie: how to suppress emacs24 warnings



On Mon, 27 Apr 2015, Tim Kelley wrote:
> Well, typing it is cumbersome so you can do in ~/.bash_aliases or ~/.bashrc
> 
> alias emacs='emacs > /dev/null 2>&1'

I actually use the following:

#!/bin/sh
# fork and forget == faf
("$@" >/dev/null 2>&1 &)

as faf in ~/bin[1]

so you can do things like faf emacs; and faf evince; etc. You can also
fix up the completion in bash/zsh so that completion works as usual
after faf.

1: http://git.donarmstrong.com/?p=bin.git;a=blob;f=faf;hb=HEAD
-- 
Don Armstrong                      http://www.donarmstrong.com

Given that the odds of a miracle are one in one million, and events
which could be a miracle happen every second, the odds of not seeing a
miracle in a month are less than 8 in 100. Clearly miracles are not
all that miraculous.


Reply to: