summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorBlaise Thompson <blaise@untzag.com>2018-04-23 17:51:42 -0500
committerBlaise Thompson <blaise@untzag.com>2018-04-23 17:51:42 -0500
commit6b7f7b329c4044115c0519a5b898e614786adf13 (patch)
tree9366a79a27827bfd0f9428ef4c96a1178561b94f /dotfiles
parent7d6b1a36e3f68fc65e9ec2c9e8312f2d1e608b4b (diff)
2018-04-23 17:51
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/bashrc.sync15
1 files changed, 10 insertions, 5 deletions
diff --git a/dotfiles/bashrc.sync b/dotfiles/bashrc.sync
index 44b799c..5b02931 100644
--- a/dotfiles/bashrc.sync
+++ b/dotfiles/bashrc.sync
@@ -17,7 +17,7 @@ function countdown(){
}
function git-commit-with-timestamp(){
- pwd
+ print-cyan $(pwd)
git remote update
git pull
if ! git diff --quiet
@@ -36,13 +36,18 @@ function git-sync-all(){
cd ~/dotfiles; git-commit-with-timestamp;
}
-function print-yellow {
- YELLOW='\033[0;33m'
+function print-cyan {
+ CYAN='\033[0;36m'
NC='\033[0m' # No Color
- printf "${YELLOW}$*${NC}\n"
+ printf "${CYAN}$*${NC}\n"
}
function print-line {
- print-yellow "%`tput cols`s"|tr ' ' '#'
+ print-cyan "%`tput cols`s"|tr ' ' '#'
}
+function print-yellow {
+ YELLOW='\033[0;33m'
+ NC='\033[0m' # No Color
+ printf "${YELLOW}$*${NC}\n"
+}