- brew autocomplete
- remove nvm for quicker startup time
This commit is contained in:
Tri Vo Khac committed 2022-10-09 10:10:49 +07:00
1 parent 5dbd4163ad
commit ca53f20b14
4 files changed
+60 -4

No files matched your search

@@ -0,0 +1,4 @@
list=( ${(Q)"${(z)$(<<\EO:list
'aspell-dictionaries' 'bundle' 'determine-rebottle-runners' 'postgresql-upgrade-database'
EO:list
)}"} )
+46
View File
@@ -48,3 +48,49 @@ node -v
compdef compdef
micro $ZDOTDIR/zsh-exports micro $ZDOTDIR/zsh-exports
node -v node -v
zsh-update-plugins
micro $ZDOTDIR/zsh-functions
where vim
brew vim info
brew nvm info
brew info nvm
brew info vim
brew uninstall vim
z dot
git branch
z ve
git branch
node -v
where node
topgrade
micro $ZDOTDIR/zsh-exports
micro $ZDOTDIR/zsh-exports
node -v
npm uninstall --lts
npm uninstall
nvm uninstall --lts
nvm deactivate --lts
nvm uninstall --lts
where node
brew uninstall --zap nvm
ls
ls -a
rm -rf .nvm
micro $ZDOTDIR/zsh-exports
brew search node
brew info node
brew info node@16
brew info nodebrew
brew install node@16
echo 'export PATH="/opt/homebrew/opt/node@16/bin:$PATH"' >> ~/.zshrc
node -v
micro $ZDOTDIR/zsh-exports
node -v
where node
node -v
node -v
micro $ZDOTDIR/.zshrc
topgrade
brew install --cask google-drive
brew uninstall --zap google-drive
rm -f /Users/trivk/Library/Application Support/FileProvider/com.google.drivefs.fpext
+9
View File
@@ -14,6 +14,13 @@ unsetopt BEEP
# completions # completions
# for brew
if type brew &>/dev/null
then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
fi
autoload -Uz compinit autoload -Uz compinit
zstyle ':completion:*' menu select zstyle ':completion:*' menu select
# zstyle ':completion::complete:lsof:*' menu yes select # zstyle ':completion::complete:lsof:*' menu yes select
@@ -80,3 +87,5 @@ autoload edit-command-line; zle -N edit-command-line
export EDITOR="micro" export EDITOR="micro"
export TERMINAL="kitty" export TERMINAL="kitty"
export BROWSER="floorp" export BROWSER="floorp"
export PAGE="bat"
export VISUAL="micro"
+1 -4
View File
@@ -4,9 +4,6 @@ HISTSIZE=1000000
SAVEHIST=1000000 SAVEHIST=1000000
export PATH="$HOME/.local/bin":$PATH export PATH="$HOME/.local/bin":$PATH
export MANWIDTH=999 export MANWIDTH=999
export PATH="/opt/homebrew/opt/node@16/bin:$PATH"
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
# [ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"