summary refs log tree commit diff stats
path: root/zsh/fasdrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/fasdrc')
-rw-r--r--zsh/fasdrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/zsh/fasdrc b/zsh/fasdrc
new file mode 100644
index 00000000..efe6e0a3
--- /dev/null
+++ b/zsh/fasdrc
@@ -0,0 +1,9 @@
+# -*- mode: sh; -*-
+current () {
+	for path in *; do
+		printf "./%s|1\\n" "$path"
+	done
+}
+
+# If you want to have this behavior for all fasd queries
+_FASD_BACKENDS="native current"