This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/show-your-setup-joe-ferris
Never mind I googled a solution.
#!/usr/bin/osascript
tell application "Safari"
set docUrl to URL of document 1
set URL of document 1 to docUrl
end tell
There is also a commandline executable, chrome-cli that was recently released that allows you to script Chrome. It includes a number of commands for listing open tabs, reloading tabs, activating tabs, etc.
Available via homebrew, brew install chrome-cli
@jferris any chance you could push your latest dot files to GitHub? There was a few things in the video that I couldnât find in your config (seems to be from 3 years ago, or am I looking in the wrong place?).
EDIT:
I just realised you have two repos, config_files
and dotfiles
- the former shows up on your GitHub profile because it has way more stars, but it looks like the latter is more up to date.
Yes, sorry: this is what Iâm actually using now: https://github.com/jferris/dotfiles
I left config_files up because a bunch of people were using them and forked them, and I didnât want to rain on anybodyâs parade when I switch over to thoughtbotâs dotfiles.
Shouldnât this actually be titled, âShow your setup: The legendary Joe Ferrisâ ?
Just saying.
Regarding iterm and tmux, 1 reason to use iterm is that it allows copy-and-paste with the mouse when using tmux.
In my testing, with the same .tmux.conf, this worked with iterm but not with terminal.
I have recently switch to VIM this past weekend, and did not know you could do all the things in this video.
To run test from vim, do I need to install a plugin or do I need to update the dotfile?(havenât done any customization in that yet)
hahaha gsearch and greplace made me laugh out so loud. oh my. I just installed vim-rspec, and it saves so much time!