From d5be67f0d383b3aeaf045adbc272582a69f5f1ec Mon Sep 17 00:00:00 2001
From: Joe <bousset.rudy@gmail.com>
Date: Tue, 17 May 2022 17:05:33 +0200
Subject: ripgrep soon

---
 .config/env           | 3 ++-
 .config/zsh/.zshrc    | 4 ++--
 .config/zsh/alias.zsh | 5 ++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.config/env b/.config/env
index 02ff17b..3068791 100644
--- a/.config/env
+++ b/.config/env
@@ -72,7 +72,8 @@ export CCACHE_DIR='/var/cache/ccache-jozan'
 export CCACHE_LOGFILE='/var/log/ccache.log'
 
 # Apps config
-export FZF_DEFAULT_COMMAND='ag -g "" --ignore dotfiles-bsd --ignore .ccls-cache --ignore GIMP --ignore iridium --ignore google-chrome --ignore chromium --ignore elpa --ignore Gpredict'
+export FZF_DEFAULT_COMMAND='ag -g "" -a --hidden --nocolor --ignore dotfiles-bsd --ignore .ccls-cache --ignore GIMP --ignore iridium --ignore google-chrome --ignore chromium --ignore elpa --ignore Gpredict --ignore .cache'
+# export FZF_DEFAULT_COMMAND='rg --color never --files --hidden'
 export FZF_DEFAULT_OPTS='--height 60% --layout=reverse --border=left --tabstop=4'
 export LESS="-R -c"
 export LESSHISTFILE='-'
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 743a2de..b999534 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -13,8 +13,8 @@
 
 autoload -U colors && colors
 
-HISTSIZE=25000
-SAVEHIST=25000
+HISTSIZE=1000000
+SAVEHIST=1000000
 HISTFILE=$XDG_CONFIG_HOME/zsh/history
 
 LESS_TERMCAP_mb=$(printf '\e[1;31m');		export LESS_TERMCAP_mb
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index 754c1b5..6eb21d2 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -74,10 +74,9 @@ alias \
 	gco='git commit -m' \
 	gpp='git push' \
 	gpo='git push origin' \
-	gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d %C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all" \
-	dgl="dgit log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d %C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all" \
+	gl="git log --graph --format=format:'%C(yellow)%h %C(bold blue)%ah %C(bold green)(%ar)%C(bold yellow)%d%C(reset)%n%s %C(dim white)- %an <%ae>%C(reset)' --all" \
+	dgl="dgit log --graph --format=format:'%C(yellow)%h %C(bold blue)%ah %C(bold green)(%ar)%C(bold yellow)%d%C(reset)%n%s %C(dim white)- %an <%ae>%C(reset)' --all" \
 	srcnt='find . -type f -name "*.c" -exec cat {} \; | sed "/^\//d" | sed "/^\*/d" | sed "/^ \*/d" | sed "/^\/\//d" | sed "/^$/d" | wc -l | tr -d " "' \
-	vimz='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' \
 	v='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' \
 	tohex='printf "0x%x\n"'
 ebin() {
-- 
cgit v1.2.3