aboutsummaryrefslogtreecommitdiff
path: root/swenu-path
diff options
context:
space:
mode:
Diffstat (limited to 'swenu-path')
-rwxr-xr-xswenu-path4
1 files changed, 4 insertions, 0 deletions
diff --git a/swenu-path b/swenu-path
index fb58b5b..7eaee33 100755
--- a/swenu-path
+++ b/swenu-path
@@ -1,5 +1,9 @@
#!/bin/sh
+if [ "$1" ]; then
+ swenu-exes | sort -u | tee $cache
+fi
+
cachedir="${XDG_CACHE_HOME:-"$HOME/.cache"}"
cache="$cachedir/swenu-run"