From d7e35e6af4fc7c47af3cda1e003516995f2089d2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 13 Jan 2013 19:38:41 -0200 Subject: Remove lost found folder if empty --- modules/mutt/muttrc | 4 ++-- modules/profile/profile | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/mutt/muttrc b/modules/mutt/muttrc index 94a40da..94b70eb 100644 --- a/modules/mutt/muttrc +++ b/modules/mutt/muttrc @@ -436,5 +436,5 @@ macro index,pager \' "~F" "Jump to next important message" source "~/.mutt/sidebar" # http://wiki.mutt.org/?MuttFaq/Attachment -macro attach W ~/download/ -macro attach E ~/download/ +macro attach W ~/load/ +macro attach E ~/load/ diff --git a/modules/profile/profile b/modules/profile/profile index 0941d4e..0fa8e2b 100644 --- a/modules/profile/profile +++ b/modules/profile/profile @@ -30,6 +30,11 @@ source $HOME/apps/scripts/ssh-agent-eval # GPG Agent source $HOME/apps/scripts/gpg-agent-eval +# Remove lost found folder if empty +if [ -d "$HOME/lost+found" ]; then + rmdir $HOME/lost+found &> /dev/null +fi + # Custom configuration if [ -e "$HOME/.custom/profile" ]; then source $HOME/.custom/profile -- cgit v1.2.3