projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
13a31c5
)
add .bin into PATH
author
Peng Li
<seudut@gmail.com>
Wed, 8 Mar 2017 13:54:53 +0000
(21:54 +0800)
committer
Peng Li
<seudut@gmail.com>
Wed, 8 Mar 2017 13:54:53 +0000
(21:54 +0800)
bashrc
patch
|
blob
|
history
zsh/zshrc
patch
|
blob
|
history
diff --git
a/bashrc
b/bashrc
index
bfd0ce2
..
dfe0d0f
100644
(file)
--- a/
bashrc
+++ b/
bashrc
@@
-69,6
+69,8
@@
if [ -f "/Users/peli3/.git-completion.bash" ]; then
. "/Users/peli3/.git-completion.bash"
fi
. "/Users/peli3/.git-completion.bash"
fi
+# export ~/.bin into PATH
+export PATH="$HOME/.bin":$PATH;
## https://linuxtoy.org/archives/bash_tricks.html
#shopt -s histappend
#PROMPT_COMMAND='history -a'
## https://linuxtoy.org/archives/bash_tricks.html
#shopt -s histappend
#PROMPT_COMMAND='history -a'
diff --git
a/zsh/zshrc
b/zsh/zshrc
index
1ea7de2
..
0f02ab5
100644
(file)
--- a/
zsh/zshrc
+++ b/
zsh/zshrc
@@
-312,3
+312,6
@@
if [[ $OSNAME == 'Darwin' ]]; then
PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT;
fi
PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT;
fi
+
+# export ~/.bin into PATH
+export PATH="$HOME/.bin":$PATH;