16 lines
634 B
Bash
16 lines
634 B
Bash
alias enterVR='js "document.querySelector(\"a-scene\").enterVR()"'
|
|
alias enterAR='js "document.querySelector(\"a-scene\").enterAR()"'
|
|
alias exitVR='js "document.querySelector(\"a-scene\").enterVR()"'
|
|
alias exitAR='js "document.querySelector(\"a-scene\").enterAR()"'
|
|
|
|
# (new)user friendlyness
|
|
alias vi='echo "HINT: type :q (and press enter) to quit";read;vi';
|
|
alias mg='echo "HINT: type Ctrl+c Ctrl-x to quit";read;me';
|
|
alias nano='echo "HINT: type Ctrl+x to quit" ;read;nano';
|
|
|
|
# start index.js
|
|
test -f index.js && chmod +x index.js && ./index.js
|
|
|
|
# start index.html
|
|
test -f index.html && chmod +x index.html && ./index.html
|