summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
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"
+}