We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b48bff commit 282828aCopy full SHA for 282828a
1 file changed
run
@@ -179,6 +179,9 @@ run() {
179
find . -type f -name "*.class" -mmin -2 -exec rm -rf {} \; 2>/dev/null
180
fi
181
182
+ elif [[ ${FILE#*.} == sh ]]; then
183
+ ./"$FILE"
184
+
185
else
186
_ERROR_UFTC_
187
_EXIT_
@@ -204,10 +207,11 @@ for arg in "$@"; do
204
207
echo " ${yellow}>>${white} Python"
205
208
echo " ${yellow}>>${white} Rust"
206
209
echo " ${yellow}>>${white} Java"
210
+ echo " ${yellow}>>${white} Bash-Script"
211
echo
212
;;
213
- *".c" | *".cpp" | *".py" | *".rs" | *".java")
214
+ *".c" | *".cpp" | *".py" | *".rs" | *".java" | *".sh")
215
FILE_LOCATION=$arg
216
if [[ ! -f $FILE_LOCATION ]]; then
217
0 commit comments