We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39eaf82 commit 7c1384fCopy full SHA for 7c1384f
.zprofile.khan
@@ -37,7 +37,8 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
37
38
# Enable autocompletion for git. Should use git-completion.zsh, but it seems problematic on mac
39
autoload -Uz compinit && compinit
40
-if [ -f "$DIR/git-completion.bash" ]; then
+# Only source bash completion on macOS - Linux has native zsh git completion
41
+if [ "$(uname -s)" = "Darwin" ] && [ -f "$DIR/git-completion.bash" ]; then
42
source "$DIR/git-completion.bash"
43
fi
44
0 commit comments