mirror of
https://github.com/meineerde/dotfiles.git
synced 2025-10-17 19:41:01 +00:00
Add some legacy PATHs. Add rubygems paths for rvm
This commit is contained in:
parent
1cf6c364f6
commit
c53f23f827
4
.bashrc
4
.bashrc
@ -16,7 +16,7 @@ function delink()
|
|||||||
|
|
||||||
# General Settings
|
# General Settings
|
||||||
export DOTFILES=$(dirname `delink ~/.bashrc` )
|
export DOTFILES=$(dirname `delink ~/.bashrc` )
|
||||||
export PATH="/usr/local/sbin:/usr/local/bin:/Developer/usr/bin:/usr/sbin:/usr/bin:$PATH:/opt/bin:/opt/local/bin:."
|
export PATH="/usr/local/sbin:/usr/local/bin:/opt/local/bin:/Developer/usr/bin:/usr/sbin:/usr/bin:$PATH:/opt/bin:/opt/local/bin:."
|
||||||
export PATH="$HOME/bin:$DOTFILES/bin:$PATH"
|
export PATH="$HOME/bin:$DOTFILES/bin:$PATH"
|
||||||
export PWD_LENGTH=50
|
export PWD_LENGTH=50
|
||||||
set -o notify
|
set -o notify
|
||||||
@ -232,7 +232,7 @@ cat() {
|
|||||||
|
|
||||||
# directory for project
|
# directory for project
|
||||||
d() {
|
d() {
|
||||||
for dir in $HOME/workspace/$1 $HOME/$1 $1 $RUBY_PATH/$RUBY_VERSION/lib/ruby/gems/*/gems/$1-*; do
|
for dir in $HOME/workspace/$1 $HOME/$1 $1 /Volumes/Finn/$1 $RUBY_PATH/$RUBY_VERSION/lib/ruby/gems/*/gems/$1-*; do
|
||||||
if [ -d $dir ]; then
|
if [ -d $dir ]; then
|
||||||
echo $dir
|
echo $dir
|
||||||
break
|
break
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user