Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changes :)

  • Loading branch information...
commit ec421111f19ed36f822aebe4a52eb973827f5b0a 1 parent cc44835
@rogeriozambon authored
Showing with 10 additions and 5 deletions.
  1. +2 −1  .alias.sh
  2. +3 −1 .bash_profile
  3. +5 −3 .prompt.sh
View
3  .alias.sh
@@ -1,2 +1,3 @@
alias ll="ls -Glahs"
-alias top="top -o cpu"
+alias top="top -o cpu"
+alias ds="find ~ -name '.DS_Store' -exec rm {} \;"
View
4 .bash_profile
@@ -3,6 +3,8 @@ source ~/.prompt.sh
source ~/.alias.sh
source ~/.export.sh
+export QMAKESPEC=/usr/local/Qt4.8/mkspecs/macx-g++
+
# Ruby debug
debug() {
ruby -r pry "$@";
@@ -16,4 +18,4 @@ reload() {
# Space used by HD
hd_used() {
df -lP |awk '{ sum += $3 } END { printf "%d GiB\n", sum/2**20 }';
-}
+}
View
8 .prompt.sh
@@ -13,6 +13,7 @@ __prompt () {
local RED="\[\033[0;31m\]"
local WHITE="\[\033[1;37m\]"
local YELLOW="\[\033[0;33m\]"
+ local MAGENTA="\[\033[0;35m\]"
local BASE_COLOR="$NO_COLOR"
local BRANCH=`git branch 2> /dev/null | grep \* | sed 's/* //'`
@@ -82,10 +83,11 @@ __prompt () {
STATE="${STATE}${YELLOW}*${NO_COLOR}"
fi
- PS1="\n${RUBY_PROMPT}${WHITE}\w\a${NO_COLOR} ${PROMPT_COLOR}${BRANCH}${NO_COLOR}${STATE}${NO_COLOR}\n\$ "
+ PS1="\n${RUBY_PROMPT}${MAGENTA}\w\a${NO_COLOR} ${PROMPT_COLOR}${BRANCH}${NO_COLOR}${STATE}${NO_COLOR}\n\$ "
else
- PS1="\n${RUBY_PROMPT}${WHITE}\w\a${NO_COLOR}\n\$ "
+ PS1="\n${RUBY_PROMPT}${MAGENTA}\w\a${NO_COLOR}\n\$ "
fi
}
-PROMPT_COMMAND=__prompt
+PROMPT_COMMAND=__prompt
+
Please sign in to comment.
Something went wrong with that request. Please try again.