no longer edit .js files by default
This commit is contained in:
parent
3ed9e45a6b
commit
72f277bd69
@ -1,12 +1,12 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
CLISP="clisp lisp"
|
CLISP="clisp lisp"
|
||||||
TEXT="txt md js";
|
TEXT="txt md";
|
||||||
WEB="css scss less html php cshtml json"
|
WEB="css scss less html php cshtml json"
|
||||||
JS="ts tsx js"
|
JS="ts tsx js"
|
||||||
C="cpp h c cs"
|
C="cpp h c cs"
|
||||||
|
|
||||||
FILES_TO_EDIT="$CLISP $TEXT $WEB $JS $C";
|
FILES_TO_EDIT="$CLISP $TEXT $WEB $C";
|
||||||
|
|
||||||
for filetype in ${(s/ /)FILES_TO_EDIT}; do
|
for filetype in ${(s/ /)FILES_TO_EDIT}; do
|
||||||
alias -s $filetype="$EDITOR";
|
alias -s $filetype="$EDITOR";
|
||||||
|
Loading…
Reference in New Issue
Block a user