-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rob Huffstedtler
committed
Nov 16, 2017
1 parent
70d8888
commit 4b466cd
Showing
1 changed file
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,36 @@ | ||
CLICOLOR=1 | ||
LSCOLORS=GxFxCxDxBxegedabagaced | ||
PS1="\[$(tput bold)\]\[$(tput setab 2)\]\u@\h:\w $ " | ||
PS1="\[$(tput bold)\]\[$(tput setab 2)\]\e[0m\u@\h:\w $ " | ||
|
||
[[ -s ${HOME}/.profile ]] && source ${HOME}/.profile | ||
|
||
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\n\[\033[33;1m\]\w\[\033[m\]\$ " | ||
export CLICOLOR=1 | ||
export LSCOLORS=ExFxBxDxCxegedabagacad | ||
|
||
export PATH="$PATH:/Applications/DevDesktop/tools" | ||
|
||
test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash" | ||
|
||
#I started trying to get bash-git-prompt to work, but it needs some | ||
#tweaking - see https://github.com/magicmonty/bash-git-prompt | ||
#if [ -f "/usr/local/opt/bash-git-prompt/share/gitprompt.sh" ]; then | ||
# __GIT_PROMPT_DIR="/usr/local/opt/bash-git-prompt/share" | ||
# source "/usr/local/opt/bash-git-prompt/share/gitprompt.sh" | ||
#fi | ||
|
||
|
||
function blt() { | ||
if [ "`git rev-parse --show-cdup 2> /dev/null`" != "" ]; then | ||
GIT_ROOT=$(git rev-parse --show-cdup) | ||
else | ||
GIT_ROOT="." | ||
fi | ||
|
||
if [ -f "$GIT_ROOT/vendor/bin/blt" ]; then | ||
$GIT_ROOT/vendor/bin/blt "$@" | ||
else | ||
echo "You must run this command from within a BLT-generated project repository." | ||
return 1 | ||
fi | ||
} |