mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Add new plugin js-repl for javascript REPL
This commit is contained in:
parent
3ea3384186
commit
e803c95261
1 changed files with 5 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue