- remove codium
- remove unnecessary exports
- add micro and fnm binanry
- fix cd + tab issue
This commit is contained in:
Tri Vo Khac committed 2024-07-04 22:06:54 +07:00
1 parent 885a795aa5
commit 398aa1e864
7 files changed
+4 -112

No files matched your search

+4 -4
View File
@@ -4,11 +4,9 @@ source $ZDOTDIR/zinit.zsh
# load remote plugins
zinit wait lucid light-mode for \
wintermi/zsh-brew \
zap-zsh/supercharge \
wintermi/zsh-fnm \
hlissner/zsh-autopair \
atinit"zicompinit; zicdreplay -q" \
zdharma-continuum/fast-syntax-highlighting \
zdharma-continuum/fast-syntax-highlighting zap-zsh/supercharge \
atload"_zsh_autosuggest_start" \
zsh-users/zsh-autosuggestions \
blockf atpull'zinit creinstall -q .' \
@@ -28,7 +26,9 @@ zinit light starship/starship
zinit as"command" wait lucid light-mode from"gh-r" for \
pick"bat-*/bat" atclone'cd $(ls -d */|head -n 1); cp autocomplete/bat.zsh _bat' atpull"%atclone" @sharkdp/bat \
pick"lsd-*/lsd" lsd-rs/lsd \
pick"micro-*/micro" zyedidia/micro \
atclone"./zoxide init zsh > init.zsh" atpull"%atclone" src"init.zsh" \
ajeetdsouza/zoxide \
atclone"./fzf --zsh > init.zsh" atpull="%atclone" src"init.zsh" \
junegunn/fzf
junegunn/fzf \
atclone"./fnm env --use-on-cd > init.zsh" atpull"%atclone" src"init.zsh" Schniz/fnm
-2
View File
@@ -1,5 +1,3 @@
#!/usr/bin/env zsh
[ -x "$(command -v bat)" ] && alias cat="bat"
[ -x "$(command -v codium)" ] && alias code="codium"
[ -x "$(command -v nvim)" ] && alias v="nvim"
-5
View File
@@ -1,5 +0,0 @@
#!/usr/bin/env 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 opam > /dev/null 2>&1 && eval $(opam env)
-5
View File
@@ -1,6 +1,5 @@
#!/usr/bin/env zsh
HISTFILE="$ZDOTDIR"/.zsh_history
HISTSIZE=1000000
SAVEHIST=1000000
@@ -12,7 +11,3 @@ export VISUAL="micro"
export SUDO_EDITOR="micro"
export STARSHIP_CONFIG="$XDG_CONFIG_HOME"/starship/starship.toml
export NODE_OPTIONS="--dns-result-order=ipv4first"
export PATH="/home/trivk/.local/share/fnm:$PATH"