From 20ef5b2128e44486970c37a4fd295077571fdda0 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Sat, 27 Oct 2012 12:23:44 +0200 Subject: The wduchain can't be an alias anymore --- bashrc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/bashrc b/bashrc index b8d7f92..62764da 100644 --- a/bashrc +++ b/bashrc @@ -33,8 +33,11 @@ export CMAKE_PREFIX_PATH=$KDEDIR:$CMAKE_PREFIX_PATH export CMAKE_LIBRARY_PATH=$KDEDIR/lib:$CMAKE_LIBRARY_PATH export CMAKE_INCLUDE_PATH=$KDEDIR/include:$CMAKE_INCLUDE_PATH -# Alias to whip the KDevelop cache -alias wduchain='rm -rf $HOME/.kdevduchain/*' +# Function to whip the KDevelop cache +function wduchain { + rm -rf $HOME/.kdevduchain + rm -rf $HOME/.cache/kdevduchain/* +} # Load RVM into a shell session *as a function* [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" @@ -44,7 +47,8 @@ alias be='bundle exec' # Go things export GOROOT=$HOME/Projects/go -export PATH=$GOROOT/bin:$PATH +export GOPATH=$HOME/.go +export PATH=$HOME/.go/bin:$HOME/Projects/go/bin:$PATH # Including shortcuts, idea from https://github.com/fxn/dotfiles GO_SHORTCUTS=( -- cgit v1.2.3