chore: use plugins for fzf, fnm and lsd
This commit is contained in:
1 parent
6ac8d1aad7
commit
c0726ccec6
3 files changed
+4
-3
No files matched your search
@@ -59,9 +59,11 @@ zsh_add_file "zsh-eval"
|
|||||||
repos=(
|
repos=(
|
||||||
zsh-users/zsh-autosuggestions
|
zsh-users/zsh-autosuggestions
|
||||||
zsh-users/zsh-completions
|
zsh-users/zsh-completions
|
||||||
|
zap-zsh/fzf
|
||||||
|
zap-zsh/fnm
|
||||||
zdharma-continuum/fast-syntax-highlighting
|
zdharma-continuum/fast-syntax-highlighting
|
||||||
hlissner/zsh-autopair
|
hlissner/zsh-autopair
|
||||||
zap-zsh/fzf
|
wintermi/zsh-lsd
|
||||||
)
|
)
|
||||||
plugin-load $repos
|
plugin-load $repos
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
[ -x "$(command -v lsd)" ] && alias ls="lsd"
|
|
||||||
[ -x "$(command -v bat)" ] && alias cat="bat"
|
[ -x "$(command -v bat)" ] && alias cat="bat"
|
||||||
[ -x "$(command -v codium)" ] && alias code="codium"
|
[ -x "$(command -v codium)" ] && alias code="codium"
|
||||||
|
[ -x "$(command -v nvim)" ] && alias v="nvim"
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
[ -f /opt/homebrew/bin/brew ] && eval "$(/opt/homebrew/bin/brew shellenv)"
|
[ -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 zoxide > /dev/null 2>&1 && eval "$(zoxide init zsh)"
|
||||||
command -v starship > /dev/null 2>&1 && eval "$(starship init zsh)"
|
command -v starship > /dev/null 2>&1 && eval "$(starship init zsh)"
|
||||||
command -v opam > /dev/null 2>&1 && eval $(opam env)
|
command -v opam > /dev/null 2>&1 && eval $(opam env)
|
||||||
Reference in new issue
Block a user