summaryrefslogtreecommitdiffstats
path: root/.config/zsh
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-17 17:05:33 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-17 17:05:33 +0200
commitd5be67f0d383b3aeaf045adbc272582a69f5f1ec (patch)
tree97080874154aafb3eb84ea4051589b48e03c6394 /.config/zsh
parentCan read cals now (diff)
downloaddotfiles-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
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc4
-rw-r--r--.config/zsh/alias.zsh5
2 files changed, 4 insertions, 5 deletions
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() {