Skip to content

Instantly share code, notes, and snippets.

@brycemcd
Created December 14, 2016 15:34
Show Gist options
  • Save brycemcd/04092405cbc663ee7ea48b933e40844e to your computer and use it in GitHub Desktop.
Save brycemcd/04092405cbc663ee7ea48b933e40844e to your computer and use it in GitHub Desktop.
Opens a zoom meeting in a browser from the command line
#!/bin/zsh
# Opens a zoom meeting with the name you've given it.
# Drop this script in /usr/local/bin/openzoom
# Invoke with `openzoom meeting_name`
typeset -A meeting
# NOTE: set this hashmap with meeting_name and ids of that meeting
meeting[meeting_name]=123456789
if [ -z ${1+x} ]; then
echo "pass one argument for the meetings you have available: ${(k)meeting}"
exit 1
fi
meeting_id=${meeting[$1]}
/usr/bin/open "https://zoom.us/j/$meeting_id"
@Sudheer899
Copy link

thankyou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment