summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2018-04-04 19:29:55 +0900
committerjohannst <stoelp@eit.uni-kl.de>2018-04-04 19:29:55 +0900
commitcd13891bb0dcf3e18cd5bd1fe6c5f02769f4794a (patch)
tree019f76de262077bca23092157620c52a2780e216
parent381f772e05102fbd12b59bcc9aea4d2c88b92f17 (diff)
downloaddotfiles-cd13891bb0dcf3e18cd5bd1fe6c5f02769f4794a.tar.gz
dotfiles-cd13891bb0dcf3e18cd5bd1fe6c5f02769f4794a.zip
re-formated bashrc
-rw-r--r--bashrc39
1 files changed, 20 insertions, 19 deletions
diff --git a/bashrc b/bashrc
index 02e6b5f..f7d5d4c 100644
--- a/bashrc
+++ b/bashrc
@@ -129,24 +129,25 @@ function pline() {
local msg=$3
echo -e "$col[$tag]: $msg${BCol_NoColor}"
}
- function pinfo() {
- local msg=$1
- local tag=${2:-INFO}
- pline ${BCol_BrightGreen} $tag ${msg}
- }
-
- function pwarn () {
- local msg=$1
- local tag=${2:-WARN}
- pline ${BCol_YellowOrange} $tag ${msg}
- }
-
- function perr() {
- local msg=$1
- local exit=${2:-exit}
- local tag=${3:-ERR}
- pline ${BCol_BrightRed} $tag ${msg}
- [[ "$exit" == "exit" ]] && exit 1 || return 0
- }
+
+function pinfo() {
+ local msg=$1
+ local tag=${2:-INFO}
+ pline ${BCol_BrightGreen} $tag ${msg}
+}
+
+function pwarn () {
+ local msg=$1
+ local tag=${2:-WARN}
+ pline ${BCol_YellowOrange} $tag ${msg}
+}
+
+function perr() {
+ local msg=$1
+ local exit=${2:-exit}
+ local tag=${3:-ERR}
+ pline ${BCol_BrightRed} $tag ${msg}
+ [[ "$exit" == "exit" ]] && exit 1 || return 0
+}
#}}}