]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zshrc
More convenient Grr
[dotfiles.git] / zsh / .zshrc
index b4144e8bd4a5c7fb5ff84afd46f4225977518bf6..08beaf124ea8bc12e19020015d07c1fc78fd1606 100644 (file)
@@ -36,7 +36,7 @@ bindkey "^[[A" history-beginning-search-backward-end
 bindkey "^[[B" history-beginning-search-forward-end
 bindkey "^R" history-incremental-pattern-search-backward
 
-HISTORY_IGNORE="(ytdl* *|t *|t)"
+HISTORY_IGNORE="(yt* *|t *|t|mmfileget *)"
 # }}}
 
 # Prompt {{{
@@ -98,7 +98,7 @@ alias -g W="| wc -l"
 git_common="--oneline --abbrev-commit"
 alias Gl="git log $git_common --graph --decorate=short"
 alias Gr="git --no-pager log $git_common -n 20 | perl -ne 'print \"@~\$n \$_\"; \$n++'"
-alias Grr="git --no-pager log $git_common --graph -n 1024 | vi -c 'e ++enc=utf8' -"
+alias Grr="git --no-pager log $git_common --graph -n 1024 | vi -c 'setlocal filetype=gitrebase buftype=nofile noswapfile' -"
 
 bindkey -s "\eOQ" " git status\n" # F2
 bindkey -s "\eOR" " git status --short\n" # F3