a few bindings and suffixes in the spirit of zsh
This commit is contained in:
15
zsh/suffixes
Normal file
15
zsh/suffixes
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/zsh
|
||||
|
||||
PYTHON="py"
|
||||
CLISP="clisp lisp"
|
||||
SHELL="sh bash zsh"
|
||||
TEXT="txt md js";
|
||||
WEB="css scss less html php cshtml json"
|
||||
JS="ts tsx js"
|
||||
C="cpp h c cs"
|
||||
|
||||
FILES_TO_EDIT="$PYTHON $CLISP $SHELL $TEXT $WEB $JS $C";
|
||||
|
||||
for filetype in ${(s/ /)FILES_TO_EDIT}; do
|
||||
alias -s $filetype="$EDITOR";
|
||||
done;
|
Reference in New Issue
Block a user