added editorconfig
This commit is contained in:
parent
8deb6830e7
commit
7c86af8f0b
15
.editorconfig
Normal file
15
.editorconfig
Normal file
@ -0,0 +1,15 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.sh]
|
||||
indent_size = 2
|
@ -23,4 +23,4 @@ echo "This is ${RED}red text${NC}"
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
[MIT License](LICENSE)
|
@ -49,4 +49,4 @@ echo -e "${GRAY}----------------------------------------------------------------
|
||||
echo "Every line will be prefixed with hostname and script name"
|
||||
printf "${GREEN}%s${NC}\n" "This is green text"
|
||||
printf "${RED}%s${NC}\n" "This is red text"
|
||||
} | awk '{printf "'${GRAY}[${HOSTNAME}'] ['$(basename "$0")']'${NC}' %s\n", $0; fflush(stdout)}'
|
||||
} | awk '{printf "'${GRAY}[${HOSTNAME}'] ['$(basename "$0")']'${NC}' %s\n", $0; fflush(stdout)}'
|
||||
|
Loading…
Reference in New Issue
Block a user