addet fzf integration

This commit is contained in:
pika 2024-10-22 08:23:12 +02:00
parent 8ae28bf9d1
commit 76213898bf

5
.zshrc
View file

@ -64,6 +64,11 @@ zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
setopt autocd notify setopt autocd notify
# End of lines configured by zsh-newuser-install # End of lines configured by zsh-newuser-install
# ─< init fzf for zsh >───────────────────────────────────────────────────────────────────
if command_exists fzf; then
source <(fzf --zsh)
fi
_init (){ _init (){
if command_exists oh-my-posh; then if command_exists oh-my-posh; then
# eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/amro.omp.json')" # eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/amro.omp.json')"