Skip to content

Commit

Permalink
Switch back to bash
Browse files Browse the repository at this point in the history
  • Loading branch information
voidcontext committed Jan 15, 2015
1 parent 9b60d1d commit efb55cc
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 71 deletions.
10 changes: 10 additions & 0 deletions .bash_profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs


58 changes: 58 additions & 0 deletions .bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions

export NVM_DIR="/home/pgee/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
nvm use

source /usr/share/git-core/contrib/completion/git-prompt.sh

export PATH=$HOME/bin:$HOME/.composer/vendor/bin:$HOME/perl5/bin:$PATH
export PAGER=less
export EDITOR=/usr/bin/vim
export MYSQL_PS1="\u@\h [\d]> "
export HISTSIZE=10000
export HISTFILESIZE=10000

alias hd='hg diff -g'
alias shl="uptime | awk '{print \$10}' | sed 's/,$//'"

alias reload-profile='source ~/.bash_profile'
_showcolors () {
for code in {0..255}; do
echo -e "\e[38;5;${code}m"'\\e[38;5;'"$code"m"\e[0m"
done
}
alias show-colors='echo $(_showcolors)'

#export PS1='\u@\h \W> '
_color () {
echo '\[\e['$1'm\]'
}

_color256 () {
echo $(_color '38;5;'$1)
}



PS1=$(_color256 "29")
PS1+='\u'
PS1+=$(_color256 "208")
PS1+='@'
PS1+=$(_color256 "33")
PS1+='\h'
PS1+=$(_color256 "185")
PS1+=' \W$(__git_ps1)> '
PS1+=$(_color "0")

export PS1
18 changes: 0 additions & 18 deletions .config/fish/config.fish

This file was deleted.

53 changes: 0 additions & 53 deletions devp_switch.fish

This file was deleted.

0 comments on commit efb55cc

Please sign in to comment.