aboutsummaryrefslogtreecommitdiffstats
path: root/.config/zsh/functions/overrides.zsh
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-09-28 22:50:56 +0200
committerDavid Runge <dave@sleepmap.de>2021-09-28 22:50:56 +0200
commit3ac8e0f994839f3c972033bcb12421081ebeb683 (patch)
tree2a4f05cac56559686ea5d7aee8703e7511662c47 /.config/zsh/functions/overrides.zsh
parenta640bb766699706b4975416b85acd30191b79fa3 (diff)
downloaddotfiles-3ac8e0f994839f3c972033bcb12421081ebeb683.tar.gz
dotfiles-3ac8e0f994839f3c972033bcb12421081ebeb683.tar.bz2
dotfiles-3ac8e0f994839f3c972033bcb12421081ebeb683.tar.xz
dotfiles-3ac8e0f994839f3c972033bcb12421081ebeb683.zip
zsh: move includes to XDG compliant locations
.config/zsh/{functions,includes}/*: Move functions and includes to XDG compliant locations. .zshrc: Include functions and other includes from XDG compliant locations. Remove use of prepend-sudo function.
Diffstat (limited to '.config/zsh/functions/overrides.zsh')
-rw-r--r--.config/zsh/functions/overrides.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/zsh/functions/overrides.zsh b/.config/zsh/functions/overrides.zsh
new file mode 100644
index 0000000..b320671
--- /dev/null
+++ b/.config/zsh/functions/overrides.zsh
@@ -0,0 +1,4 @@
+# make git auto completion faster by favoring local files
+__git_files () {
+ _wanted files expl 'local files' _files
+}