aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2011-11-02 14:20:36 +0100
committerMiquel Sabaté <mikisabate@gmail.com>2011-11-02 14:20:36 +0100
commit67cbcb0e0c8eec26313fbaf70010b2458f36d8f8 (patch)
tree9f5e3e541864acc197dbe8d15008afe3ff56c108 /bashrc
parent3bd20f9d8a0945564e8bd275f0378778ef75c8de (diff)
downloaddotfiles-67cbcb0e0c8eec26313fbaf70010b2458f36d8f8.tar.gz
dotfiles-67cbcb0e0c8eec26313fbaf70010b2458f36d8f8.zip
Added a rake completion file
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index ab8dd22..b274426 100644
--- a/bashrc
+++ b/bashrc
@@ -14,6 +14,9 @@ source $HOME/.gitcompletion.sh
# prompt with git completion
PS1='\u:\w$(__git_ps1 "\[\033[0;32m\]@\[\033[1;32m\]%s\[\033[0m\]\]") $ '
+# Rake completion
+complete -C $HOME/.rake_completion -o default rake
+
# Paths
export KDEDIR=/home/mssola/kde
export KDEDIRS=$KDEDIR
@@ -34,7 +37,7 @@ GO_SHORTCUTS=(
$HOME/Projects/kde-unstable/kdevelop/kdev-ruby
)
-# This is the function that takes advantage of the defined shortcuts.
+
function go {
local target=$1
local len=${#GO_SHORTCUTS[@]}