From 47a67ac3e467e5f8bd812208a8bfd47d6848cced Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Wed, 8 Jan 2014 22:06:43 +0100 Subject: .aliases: Add `jsc` alias Useful for testing code in JavaScriptCore. Hat tip: https://twitter.com/RussB/status/420409644117262336 (via @rauschma) --- .aliases | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.aliases') diff --git a/.aliases b/.aliases index 7bba85b..73108bd 100644 --- a/.aliases +++ b/.aliases @@ -77,6 +77,11 @@ command -v md5sum > /dev/null || alias md5sum="md5" # OS X has no `sha1sum`, so use `shasum` as a fallback command -v sha1sum > /dev/null || alias sha1sum="shasum" +# JavaScriptCore REPL +jscbin="/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc" +[ -e "${jscbin}" ] && alias jsc="${jscbin}" +unset jscbin + # Trim new lines and copy to clipboard alias c="tr -d '\n' | pbcopy" -- cgit v1.2.3