chore: use plugins for fzf, fnm and lsd

This commit is contained in:
Tri Vo Khac committed 2023-05-29 14:43:35 +07:00
1 parent 6ac8d1aad7
commit c0726ccec6
3 files changed
+4 -3

No files matched your search

+3 -1
View File
@@ -59,9 +59,11 @@ zsh_add_file "zsh-eval"
repos=(
zsh-users/zsh-autosuggestions
zsh-users/zsh-completions
zap-zsh/fzf
zap-zsh/fnm
zdharma-continuum/fast-syntax-highlighting
hlissner/zsh-autopair
zap-zsh/fzf
wintermi/zsh-lsd
)
plugin-load $repos
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
[ -x "$(command -v lsd)" ] && alias ls="lsd"
[ -x "$(command -v bat)" ] && alias cat="bat"
[ -x "$(command -v codium)" ] && alias code="codium"
[ -x "$(command -v nvim)" ] && alias v="nvim"
-1
View File
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
[ -f /opt/homebrew/bin/brew ] && eval "$(/opt/homebrew/bin/brew shellenv)"
command -v fnm > /dev/null 2>&1 && eval "$(fnm env --use-on-cd)"
command -v zoxide > /dev/null 2>&1 && eval "$(zoxide init zsh)"
command -v starship > /dev/null 2>&1 && eval "$(starship init zsh)"
command -v opam > /dev/null 2>&1 && eval $(opam env)