From 4acd4e2a0aba23e3b27c08fd0cfc0d2de4e69065 Mon Sep 17 00:00:00 2001
From: "Glenn Y. Rolland" <glenn.rolland@netcat.io>
Date: Thu, 31 Dec 2015 10:16:25 +0100
Subject: [PATCH] Empty godir, use fasd if available.

---
 files/bashrc.d/70-util-fasd.sh  | 5 +++++
 files/bashrc.d/70-util-godir.sh | 8 --------
 2 files changed, 5 insertions(+), 8 deletions(-)
 create mode 100644 files/bashrc.d/70-util-fasd.sh

diff --git a/files/bashrc.d/70-util-fasd.sh b/files/bashrc.d/70-util-fasd.sh
new file mode 100644
index 0000000..0b4b6a5
--- /dev/null
+++ b/files/bashrc.d/70-util-fasd.sh
@@ -0,0 +1,5 @@
+
+if hash fasd >/dev/null 2>&1 ; then
+	eval "$(fasd --init auto)"
+fi
+
diff --git a/files/bashrc.d/70-util-godir.sh b/files/bashrc.d/70-util-godir.sh
index 18f4ac6..e69de29 100644
--- a/files/bashrc.d/70-util-godir.sh
+++ b/files/bashrc.d/70-util-godir.sh
@@ -1,8 +0,0 @@
-
-if hash gx-search-baloo >/dev/null 2>&1 ; then
-	function godir() {
-		dir=$(gx-search-baloo "$@")
-		cd "$dir"
-	}
-fi
-