p10k tweaks

This commit is contained in:
Bartek Stalewski 2021-01-29 16:55:02 +01:00
parent e472595489
commit 0db1ba7236
2 changed files with 5 additions and 141 deletions

View file

@ -26,10 +26,6 @@ if [ -f $XDG_CONFIG_HOME/fzf/fzf.zsh ]; then
_fzf_compgen_dir() {
fd -H -L --ignore-file $XDG_CONFIG_HOME/local/fd --type d . "$1"
}
gs() {
git -c color.status=always status --short |
fzf --ansi --preview '(git diff --color=always -- {-1} | sed 1,4d; cat {-1})'
}
fi
# plugins