aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2012-10-27 12:23:44 +0200
committerMiquel Sabaté <mikisabate@gmail.com>2012-10-27 12:23:44 +0200
commit20ef5b2128e44486970c37a4fd295077571fdda0 (patch)
tree11f71b080c5a3859ad5701c58b08356124ef4473
parentf15c92d52c4514b1dabef69a421a1db0e59d47f9 (diff)
downloaddotfiles-20ef5b2128e44486970c37a4fd295077571fdda0.tar.gz
dotfiles-20ef5b2128e44486970c37a4fd295077571fdda0.zip
The wduchain can't be an alias anymore
-rw-r--r--bashrc10
1 files 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=(