commit 1c14b82
hovercats
·
2024-09-06 01:01:00 +0000 UTC
parent 1070f53
alt-tab: use internal tools instead of test
1 files changed,
+1,
-1
+1,
-1
1@@ -11,7 +11,7 @@ switch($1) {
2 printf 'Usage: n|p\n' && exit 1
3 }
4
5-if (test -z $"wid) {
6+if (~ $#wid 0) {
7 printf 'No window to focus on\n'
8 exit 1
9 }