diff options
author | Joe <bousset.rudy@gmail.com> | 2022-05-17 17:05:33 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-05-17 17:05:33 +0200 |
commit | d5be67f0d383b3aeaf045adbc272582a69f5f1ec (patch) | |
tree | 97080874154aafb3eb84ea4051589b48e03c6394 | |
parent | Can read cals now (diff) | |
download | dotfiles-bsd-d5be67f0d383b3aeaf045adbc272582a69f5f1ec.tar.gz dotfiles-bsd-d5be67f0d383b3aeaf045adbc272582a69f5f1ec.tar.bz2 dotfiles-bsd-d5be67f0d383b3aeaf045adbc272582a69f5f1ec.tar.xz dotfiles-bsd-d5be67f0d383b3aeaf045adbc272582a69f5f1ec.tar.zst dotfiles-bsd-d5be67f0d383b3aeaf045adbc272582a69f5f1ec.zip |
ripgrep soon
-rw-r--r-- | .config/env | 3 | ||||
-rw-r--r-- | .config/zsh/.zshrc | 4 | ||||
-rw-r--r-- | .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() { |