add option to specify git branch and fix colors
This commit is contained in:
parent
84471bec5d
commit
943e9b5da5
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ basedir=$homedir/.dotfiles
|
||||||
bindir=$homedir/bin
|
bindir=$homedir/bin
|
||||||
gitbase=git://github.com/Klowner/dotfiles.git
|
gitbase=git://github.com/Klowner/dotfiles.git
|
||||||
gitorigin=git@github.com:Klowner/dotfiles.git
|
gitorigin=git@github.com:Klowner/dotfiles.git
|
||||||
gitbranch=refresh
|
gitbranch=${GIT_BRANCH:-master}
|
||||||
tarball=http://github.com/Klowner/dotfiles/tarball/$gitbranch
|
tarball=http://github.com/Klowner/dotfiles/tarball/$gitbranch
|
||||||
|
|
||||||
function has() {
|
function has() {
|
||||||
|
@ -13,11 +13,11 @@ function has() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function note() {
|
function note() {
|
||||||
echo "^[[32;1m * ^[[0m$*"
|
echo -e "\e[32;1m * \e[0m$*"
|
||||||
}
|
}
|
||||||
|
|
||||||
function warn() {
|
function warn() {
|
||||||
echo "^[[31;1m * ^[[0m$*"
|
echo -e "\e[31;1m * \e[0m$*"
|
||||||
}
|
}
|
||||||
|
|
||||||
function die() {
|
function die() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue