aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-13 19:38:41 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-13 19:38:41 -0200
commitd7e35e6af4fc7c47af3cda1e003516995f2089d2 (patch)
treef0ad18fa232d71cd3946e6a113fd3802f822d836
parent7326aa9c24fe70308b32620bbd4ebacef1927363 (diff)
downloaddotfiles-d7e35e6af4fc7c47af3cda1e003516995f2089d2.tar.gz
dotfiles-d7e35e6af4fc7c47af3cda1e003516995f2089d2.tar.bz2
Remove lost found folder if empty
-rw-r--r--modules/mutt/muttrc4
-rw-r--r--modules/profile/profile5
2 files changed, 7 insertions, 2 deletions
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 \' "<search>~F<enter>" "Jump to next important message"
source "~/.mutt/sidebar"
# http://wiki.mutt.org/?MuttFaq/Attachment
-macro attach W <save-entry><kill-line>~/download/
-macro attach E <save-entry><kill-line>~/download/<enter>
+macro attach W <save-entry><kill-line>~/load/
+macro attach E <save-entry><kill-line>~/load/<enter>
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