Last active
February 12, 2018 00:49
-
-
Save alvir/2522c9b24b41475039af to your computer and use it in GitHub Desktop.
Open last file of capybara screenshots
This file contains hidden or 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
# Put it to custom folder of ohmyzsh | |
# Open recent file of capybara screenshots | |
function ole(){ | |
local NUMBER=1 | |
if ! [ -z $1 ]; then | |
NUMBER=$1 | |
fi | |
open tmp/capybara/*.png(On[$NUMBER]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment