1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-12 05:40:17 +00:00

tldr support

This commit is contained in:
Luna 2024-06-10 11:38:40 +02:00
parent f1d14721b2
commit d4ee081bb4

4
.zshrc
View file

@ -198,6 +198,10 @@ if iscmd zoxide; then
eval "$(zoxide init zsh)"
fi
if iscmd tldr; then
alias tldrf='tldr --list | fzf --preview "tldr {1} --color=always" --preview-window=right,70% | xargs tldr'
fi
DISABLE_MAGIC_FUNCTIONS=true
source $OTHER/func.zsh
source "$plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"