From 6811e62c975c2cd2fff194958240a6a8aee05e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Tue, 16 Apr 2024 11:56:05 +0200 Subject: [PATCH] rg: Ignore .git file --- zsh/zshrc.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/zshrc.j2 b/zsh/zshrc.j2 index 99fbc60..e4ae334 100644 --- a/zsh/zshrc.j2 +++ b/zsh/zshrc.j2 @@ -100,7 +100,7 @@ alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' -alias rg='rg --hidden --glob "!.git/**"' +alias rg='rg --hidden --glob "!.git/**" --glob "!.git"' alias rm='rm -v' alias cp='cp -vi'