On 01:16 Tue 15 Apr     , Philip Webb wrote:
> 080414 forgottenwizard wrote:
> > On 03:58 Mon 14 Apr     , Philip Webb wrote:
> >> Vim defaults to keeping temporary files in  /var/tmp ,
> >> but Mutt defaults to  /tmp  & Vim called by Mutt does the same.
> >> Recently, I changed the default in  .muttrc  to use  /var/tmp  instead
> >> & as a result I can happily have  /tmp  cleared at every reboot,
> >> which reminds me, I need to delete many  /var/tmp/mutt-*  ... (smile).
> > Off-topic, I know, but can you post how to do this?
> 
> It doesn't seem OT to me (smile): in  ~/.muttrc  include the line
> 
>   set tmpdir="/var/tmp"
> 
> Vim otherwise continues to keep its  .swp  files
> in the same dir as the file it's editing; only Mutt is affected,
> but you are guaranteed recovery of an e-mail being edited during a crash.
> 
> To set the system to clear  /tmp  at boot,
> edit  /etc/conf.d/bootmisc  to include the line
> 
>   WIPE_TMP="yes"
> 
> -- 
> ========================,,============================================
> SUPPORT     ___________//___,  Philip Webb : [EMAIL PROTECTED]
> ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
> TRANSIT    `-O----------O---'  University of Toronto
> -- 
> gentoo-user@lists.gentoo.org mailing list
> 

Thanks. WIPE_TMP seems to be the default, fwiw.

-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to