-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
46 lines (35 loc) · 1.19 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
echo ".bash_profile stands up"
# make terminal like vi
set -o vi
#for python
if [ -f ~/.profile ]; then
source ~/.profile
fi
#for PHP
#export PATH="/usr/local/opt/[email protected]/bin:$PATH"
#export PATH="/usr/local/opt/[email protected]/sbin:$PATH"
# for Node.js installed by nodebrew
export PATH=$HOME/.nodebrew/current/bin:$PATH
#I have to migrate the following sentence to .zshrc to study later.
#for coloring names of directories and files
export LSCOLORS=gxfxcxdxbxegexabagacad
alias ls="ls -G"
#for coloring the front part of the termianl and show shortcut version
export PS1="\[\e[38;5;45m\][\u \W]\$ \[\e[m\]"
#export PS1="\[\033[1m\]\[\033[31m\](#\\\`-´)\[\033[0m\]\[\033[0m\]< \[\033[32m\]\w\[\033[0m\] $ "
#export PS1="\[\033[31m\](*'-')\[\033[0m\]< \[\033[32m\]\w\[\033[0m\] $"
alias brew="env PATH=${PATH/\/Users\/$USER\/\.pyenv\/shims:/} brew"
#for bash-completion
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
#for brew install
export PATH="/usr/local/sbin:$PATH"
#for docker command completion
# if [ -f $(brew --prefix)/etc/bash_completion ]; then
# . $(brew --prefix)/etc/bash_completion
# fi
# load easy_pw
if [ -f ~/easy_pw.sh ]; then
source ~/easy_pw.sh
fi