chore: remove unused stuff

This commit is contained in:
Tri Vo Khac committed 2022-10-08 12:02:35 +07:00
1 parent 84b0c3552a
commit 5dbd4163ad
5 files changed
+41 -118

No files matched your search

+34
View File
@@ -14,3 +14,37 @@ find "$ZDOTDIR/plugins" -type d -exec test -e '{}/.git' ';' -print0 | xargs -I {
find "$ZDOTDIR/plugins" -type d -exec test -e '{}/.git' ';' -print0 | xargs -I {} -0
find "$ZDOTDIR/plugins" -type d -exec test -e '{}/.git' ';' -print0 | xargs -I {} -0 git -C {} status -q
find "$ZDOTDIR/plugins" -type d -exec test -e '{}/.git' ';' -print0 | xargs -I {} -0 git -C {} status
ls
echo $ZDOTDIR/.zshrc
micro $ZDOTDIR/.zshrc
ls
pwd
cd
git clone git@github.com:vokhactri/vokhactri.git ~
git clone --depth 1 git@github.com:vokhactri/vokhactri.git ~
git clone --depth 1 git@github.com:vokhactri/vokhactri.git
ls
vokhactri
ls
..
rm -rf vokhactri
.dotfiles
gaa
git add .
git commit -m "initial commit"
git remote add origin git@github.com:vokhactri/.dotfiles.git
git push -u origin main
topgrade
topgrade
topgrade
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
micro $ZDOTDIR/.zshrc
echo $ZDOTDIR/
micro $ZDOTDIR/.zshrc
brew reinstall nvm
micro $ZDOTDIR/zsh-exports
nvm install --lts
node -v
compdef
micro $ZDOTDIR/zsh-exports
node -v
+5 -26
View File
@@ -3,31 +3,10 @@
HISTSIZE=1000000
SAVEHIST=1000000
export PATH="$HOME/.local/bin":$PATH
export MANPAGER='nvim +Man!'
export MANWIDTH=999
# export PATH=$HOME/.cargo/bin:$PATH
# export PATH=$HOME/.local/share/go/bin:$PATH
# export GOPATH=$HOME/.local/share/go
# export PATH=$HOME/.fnm:$PATH
# export PATH="$HOME/.local/share/neovim/bin":$PATH
#export PATH="$PATH:./node_modules/.bin"
# eval "$(fnm env)"
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 "`pip completion --zsh`"
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
# __conda_setup="$("$HOME/.miniconda/bin/conda" 'shell.zsh' 'hook' 2> /dev/null)"
# if [ $? -eq 0 ]; then
# eval "$__conda_setup"
# else
# if [ -f "$HOME/.miniconda/etc/profile.d/conda.sh" ]; then
# . "$HOME/.miniconda/etc/profile.d/conda.sh"
# else
# export PATH="$HOME/.miniconda/bin:$PATH"
# fi
# fi
# unset __conda_setup
# <<< conda initialize <<<
-6
View File
@@ -29,9 +29,3 @@ function zsh_add_completion() {
completion_file="$(basename "${completion_file_path}")"
if [ "$2" = true ] && compinit "${completion_file:1}"
}
function mach_java_mode() {
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
}