This commit is contained in:
Loic Nageleisen 2017-02-17 17:38:34 +01:00
parent e17bd46961
commit 4e1984062d
3 changed files with 5 additions and 3 deletions

View file

@ -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

2
shell/arch Executable file
View file

@ -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"

View file

@ -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)