aboutsummaryrefslogtreecommitdiff
path: root/zsh/functions/c
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/functions/c')
-rw-r--r--zsh/functions/c24
1 files changed, 0 insertions, 24 deletions
diff --git a/zsh/functions/c b/zsh/functions/c
deleted file mode 100644
index 486a3c6..0000000
--- a/zsh/functions/c
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/zsh
-#
-# This lets you quickly jump into a project directory.
-#
-# Type:
-#
-# c <tab>
-#
-# ...to autocomplete on all of your projects in the directories specified in
-# `functions/_c`. Typically I'm using it like:
-#
-# c holm<tab>/bo<tab>
-#
-# ...to quickly jump into holman/boom, for example.
-#
-# This also accounts for how Go structures its projects. For example, it will
-# autocomplete both on $PROJECTS, and also assume you want to autocomplete on
-# your Go projects in $GOPATH/src.
-
-if [ ! -z "$1" ] && [ -s "$GOPATH/src/github.com/$1" ]; then
- cd "$GOPATH/src/github.com/$1"
-else
- cd "$PROJECTS/$1"
-fi