Created
December 12, 2020 23:05
-
-
Save ConteMan/409fbd0ecb365931b5d0aece170d5433 to your computer and use it in GitHub Desktop.
auto open AltTab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
count=$(ps -ef | grep -i '/Applications/AltTab.app' | grep -vc 'grep') | |
if [ $count -eq 0 ] | |
then | |
open /Applications/AltTab.app | |
echo 'Open AltTab now' | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment