aboutsummaryrefslogtreecommitdiff
path: root/src/ninjahelper.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninjahelper.in')
-rwxr-xr-xsrc/ninjahelper.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninjahelper.in b/src/ninjahelper.in
index 2a7faa9..4b4dceb 100755
--- a/src/ninjahelper.in
+++ b/src/ninjahelper.in
@@ -240,7 +240,7 @@ while true; do
menulist=
action=
let "i = 1"
-for file in `find ${configdirectory} -follow -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`; do
+for file in `find ${configdirectory} -follow -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' ! -name '*~' | sort -n`; do
menulist="$menulist $i $file"
actions[$i]=$file
let "i += 1"