1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 05:29:02 -08:00

fix inverted logic in witch

This commit is contained in:
Connor Olding 2024-07-13 02:55:28 -07:00
parent 194f5eb8d3
commit 466722d107

View file

@ -26,7 +26,7 @@ for flag; do
esac
done
[ "$#" != 0 ] && res=1 || res=0
[ "$#" = 0 ] && res=1 || res=0
IFS=:
for prog; do