-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc
More file actions
27 lines (20 loc) · 746 Bytes
/
bashrc
File metadata and controls
27 lines (20 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
# set vi as the command line editor (hit ESC to go into it)
set -o vi
export PATH=/:$PATH
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
# bash prompt
#PS1='\[\e[1;33m\]\w \[\e[1;30m\]\u\[\e[0m\]\n$(__git_ps1 "(%s) ")➔ '
# bash prompt with rvm and git status
PS1='\[\e[1;33m\]\w \[\e[1;30m\]\u\[\e[0m\] $(~/.rvm/bin/rvm-prompt)\n$(__git_ps1 "(%s) ")➔ '
# aliases
alias ll='ls -alG'
alias lserver='ps aux | grep ruby'
# create a shortcut to our rails project dir
rd=~/daniely/Programming/Ruby/Rails/Projects
rw=~/daniely/Programming/Ruby/RubyWarrior
s=$rd/Shejiao
f=$rd/Flow1
#cd $rd