Skip to content

Instantly share code, notes, and snippets.

@daskelly
Last active May 25, 2021 13:58
Show Gist options
  • Save daskelly/085a973750b1299b89558044b2a1894d to your computer and use it in GitHub Desktop.
Save daskelly/085a973750b1299b89558044b2a1894d to your computer and use it in GitHub Desktop.
# List all open tabs in front Chrome window
# From https://superuser.com/questions/276321/how-to-export-opened-tabs-in-chrome
alias listtabs="osascript -e{'set o to\"\"','tell app\"google chrome\"','repeat with t in tabs of window 1','set o to o&url of t&\" \"&title of\
t&linefeed',end,end}|sed \$d"
@daskelly
Copy link
Author

initial commit

@daskelly
Copy link
Author

add as alias

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