aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 7a7e294..baed47e 100644
--- a/.zshrc
+++ b/.zshrc
@@ -142,6 +142,11 @@ export MANWIDTH=80
source ~/functions/zig.sh
source ~/functions/fzf.sh
+
+# https://stackoverflow.com/a/14307127/11015039
+alias git=safegit
+compdef safegit=git
+
source ~/.fzf/shell/completion.zsh
source ~/.fzf/shell/key-bindings.zsh
fpath=(~/code/github/zig/shell-completions $fpath)