Browse Source

Abort soon if no swaps exist

Alois Mahdal 9 years ago
parent
commit
f49741e5d1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dotfiles/bash/main.bashrc

+ 1
- 1
dotfiles/bash/main.bashrc View File

43
     # 2015-07-10 06:10:48.603953758 +0200 ~/TODO.todo
43
     # 2015-07-10 06:10:48.603953758 +0200 ~/TODO.todo
44
     local swap="$HOME/.local/share/vim/swap"
44
     local swap="$HOME/.local/share/vim/swap"
45
     find "$swap" -type f \
45
     find "$swap" -type f \
46
-      | xargs stat -c "%y %n" \
46
+      | xargs -r stat -c "%y %n" \
47
       | sed "
47
       | sed "
48
             s| $swap/| |
48
             s| $swap/| |
49
             s|%|/|g
49
             s|%|/|g