summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorBlaise Thompson <blaise@untzag.com>2018-04-23 17:53:07 -0500
committerBlaise Thompson <blaise@untzag.com>2018-04-23 17:53:07 -0500
commita5f6ef143ac1ba4693016299b884be88e8c32019 (patch)
treec86242817533b5beeb5240763731f6fe9814d466 /dotfiles
parent6b7f7b329c4044115c0519a5b898e614786adf13 (diff)
2018-04-23 17:53
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/bashrc.sync11
1 files changed, 9 insertions, 2 deletions
diff --git a/dotfiles/bashrc.sync b/dotfiles/bashrc.sync
index 5b02931..295a2e0 100644
--- a/dotfiles/bashrc.sync
+++ b/dotfiles/bashrc.sync
@@ -17,7 +17,7 @@ function countdown(){
}
function git-commit-with-timestamp(){
- print-cyan $(pwd)
+ print-green $(pwd)
git remote update
git pull
if ! git diff --quiet
@@ -42,8 +42,15 @@ function print-cyan {
printf "${CYAN}$*${NC}\n"
}
+
+function print-green {
+ GREEN='\033[0;32m'
+ NC='\033[0m' # No Color
+ printf "${GREEN}$*${NC}\n"
+}
+
function print-line {
- print-cyan "%`tput cols`s"|tr ' ' '#'
+ print-green "%`tput cols`s"|tr ' ' '#'
}
function print-yellow {