]> gitweb.fluxo.info Git - rhatto/dotfiles.git/commitdiff
Remove lost found folder if empty
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 13 Jan 2013 21:38:41 +0000 (19:38 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 13 Jan 2013 21:38:41 +0000 (19:38 -0200)
modules/mutt/muttrc
modules/profile/profile

index 94a40da447a7e2ddab0b01fdef442142667ea75f..94b70eb6016876a6a7bb3e606ade99b968a50465 100644 (file)
@@ -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>
index 0941d4eb1e548d35a3e6550d48214f7fb69ee8d7..0fa8e2b5c96dc68608945fdf5cd06b808344c736 100644 (file)
@@ -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