From 4e1984062df9897a98c75df5f013ac834728f7ab Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Fri, 17 Feb 2017 17:38:34 +0100 Subject: [PATCH] arch-osx --- bash/completion | 2 +- shell/arch | 2 ++ shell/chruby | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100755 shell/arch diff --git a/bash/completion b/bash/completion index d1e6b56..1c9fcfe 100644 --- a/bash/completion +++ b/bash/completion @@ -1,7 +1,7 @@ # default bash autocompletion #/etc/bash_completion #/usr/local/share/bash-completion/bash_completion -bash_completion_file="/usr/local/etc/bash_completion" +bash_completion_file="/opt/arch/share/bash-completion/bash_completion" if [[ -f "$bash_completion_file" ]]; then source "$bash_completion_file" fi diff --git a/shell/arch b/shell/arch new file mode 100755 index 0000000..548c90d --- /dev/null +++ b/shell/arch @@ -0,0 +1,2 @@ +export PATH="/opt/arch/bin:opt/arch/sbin:$PATH" +#export MANPATH="/opt/arch/share/man:/usr/local/share/man:/usr/share/man:/usr/X11/man" diff --git a/shell/chruby b/shell/chruby index c7b71a9..384899d 100755 --- a/shell/chruby +++ b/shell/chruby @@ -1,5 +1,5 @@ -if [[ -f /usr/local/opt/chruby/share/chruby/chruby.sh ]]; then - source /usr/local/opt/chruby/share/chruby/chruby.sh +if [[ -f /opt/arch/share/chruby/chruby.sh ]]; then + source /opt/arch/share/chruby/chruby.sh if [[ -f $HOME/.ruby-version ]]; then chruby $(cat $HOME/.ruby-version)