-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
68 lines (60 loc) · 1.65 KB
/
.bash_profile
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# MacPorts
export ARCHFLAGS="-arch x86_64"
export PS1="$NM[ $HI\u@$HII\h $SI\w$NM ]$ $IN"
export PYTHONPATH=/Users/prithvi/pylibs
export MALLET_HOME=/Users/prithvi/Developer/mallet/bin
export PATH=/opt/local/bin:/opt/local/sbin:$PATH:$MALLET_HOME
export MANPATH=/opt/local/share/man:$MANPATH
export EDITOR=vim
#PATH=$PATH:~/scripts/
# Terminal colours (after installing GNU coreutils)
NM="\[\033[0;38m\]" #means no background and white lines
HI="\[\033[0;37m\]" #change this for letter colors
HII="\[\033[0;31m\]" #change this for letter colors
SI="\[\033[0;33m\]" #this is for the current directory
IN="\[\033[0m\]"
export PS1="$NM[ $HI\u $HII\h $SI\w$NM ] $IN"
if [ "$TERM" != "dumb" ]; then
export LS_OPTIONS='--color=always'
eval $(gdircolors -b $HOME/.dir_colors)
fi
#
# Create LS_COLORS environment variable from .dircolors
#
HISTFILESIZE=10000000000 HISTSIZE=1000000
# Useful aliases
alias ls='gls $LS_OPTIONS -F'
alias ll='gls $LS_OPTIONS -laAhF'
alias l='gls $LS_OPTIONS -lAhF'
alias cd..="cd .."
alias c="clear"
alias e="exit"
alias ..="cd .."
alias s='ssh [email protected]'
alias st='ssh [email protected]'
alias pip='pip-2.7'
alias grep='grep --colour=auto -R'
``
#message of the day
echo ""
fortune|cowsay
echo ""
#autojump include
if [ -f /opt/local/etc/profile.d/autojump.sh ]; then
. /opt/local/etc/profile.d/autojump.sh
fi
#git completion include
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
alias gco='git co'
alias gci='git ci'
alias grb='git rb'
#ssh completeion include
if [ -f ~/.complete-ssh-hosts.bash ]; then
. ~/.complete-ssh-hosts.bash
fi
#pomodoros include
if [ -f ~/.pom.bash ]; then
. ~/.pom.bash
fi