dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit aa42f39cd80c77a342325dd8b825c36cda4c3a4d
parent 42bc9488a60b0010e6d8feabf59329b474555b89
Author: rubberduckdev <yuval.langer@gmail.com>
Date:   Fri, 28 Feb 2014 21:25:55 +0200

changing when_dir_exist_add_path into a hidden function

Diffstat:
M.bashrc.functions | 2+-
M.bashrc.paths | 10+++++-----
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.bashrc.functions b/.bashrc.functions @@ -1,4 +1,4 @@ -function when_dir_exist_add_path { +function __when_dir_exist_add_path { if [ -d $1 ]; then export PATH=$1:$PATH fi diff --git a/.bashrc.paths b/.bashrc.paths @@ -30,7 +30,7 @@ # elixirlang { - when_dir_exist_add_path $HOME/.local/opt/elixir-0.12.4/bin + __when_dir_exist_add_path $HOME/.local/opt/elixir-0.12.4/bin # } @@ -49,24 +49,24 @@ # haskell { - when_dir_exist_add_path $HOME/.cabal/bin:$PATH + __when_dir_exist_add_path $HOME/.cabal/bin:$PATH # } # .local { - when_dir_exist_add_path $HOME/.local/bin:$PATH + __when_dir_exist_add_path $HOME/.local/bin:$PATH # } # git-annex { - when_dir_exist_add_path $HOME/.local/opt/git-annex.linux + __when_dir_exist_add_path $HOME/.local/opt/git-annex.linux # } # gem { - when_dir_exist_add_path $HOME/.gem/ruby/1.9.1/bin + __when_dir_exist_add_path $HOME/.gem/ruby/1.9.1/bin # }