Skip to content

Commit

Permalink
docker and autojump aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
thlorenz committed Mar 3, 2014
1 parent 12dbcee commit 4b8212e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bashrc
Expand Up @@ -105,7 +105,14 @@ elif [ "$unamestr" == "Linux" ] && [ -f /etc/pacman.conf ]; then
echo "Configuring for ARCH-$unamestr"

PATH=~/.npmglobal/bin:$PATH
alias docker='sudo docker'

# docker
export DOCKER_HOST='tcp://127.0.0.1:4243'
alias docker="sudo docker -H=$DOCKER_HOST"

alias jadd='autojump -a `pwd`'
alias j='cd `autojump $1`'


# ---- All other linuxes ----
elif [[ "$unamestr" == "Linux" ]]; then
Expand Down Expand Up @@ -151,4 +158,3 @@ elif [[ "$unamestr" == "Linux" ]]; then
else
echo "No special configuration known for $unamestr"
fi

0 comments on commit 4b8212e

Please sign in to comment.