From 225922506cac73da6970538863babe17b954d3e6 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Wed, 8 Mar 2017 21:54:53 +0800 Subject: [PATCH] add .bin into PATH --- bashrc | 2 ++ zsh/zshrc | 3 +++ 2 files changed, 5 insertions(+) diff --git a/bashrc b/bashrc index bfd0ce2..dfe0d0f 100644 --- a/bashrc +++ b/bashrc @@ -69,6 +69,8 @@ if [ -f "/Users/peli3/.git-completion.bash" ]; then . "/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' diff --git a/zsh/zshrc b/zsh/zshrc index 1ea7de2..0f02ab5 100644 --- 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 + +# export ~/.bin into PATH +export PATH="$HOME/.bin":$PATH; -- 2.11.0