Add new plugin js-repl for javascript REPL
This commit is contained in:
parent
3ea3384186
commit
e803c95261
5
plugins/js-repl/js-repl.plugin.zsh
Normal file
5
plugins/js-repl/js-repl.plugin.zsh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
if [[ "$OSTYPE" = darwin* ]] ; then
|
||||||
|
# https://trac.webkit.org/wiki/JSC
|
||||||
|
# jsc (or JavaScriptCore) is a Safari JavaScript REPL
|
||||||
|
alias jsc="/System/Library/Frameworks/JavaScriptCore.framework/Versions/Current/Resources/jsc"
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user