Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@silvers
Last active April 21, 2020 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silvers/8db35c0e1012927e6480a2b0f1497720 to your computer and use it in GitHub Desktop.
Save silvers/8db35c0e1012927e6480a2b0f1497720 to your computer and use it in GitHub Desktop.
https://github.com/benbalter/zoom-go を利用して対話的にzoomを開けるようにする
#!/bin/sh
IFS='
'
hr='_____________________________________________________'
for line in $(zoom --count 3); do
if [[ $line =~ (zoommtg://.*)$ ]]; then
url=$BASH_REMATCH
fi
if [[ $line == $hr ]]; then
read -p "Open Zoom? (y/N)" input
case "$input" in
[Yy]* ) open $url; break;;
* ) ;;
esac
fi
echo $line
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment