chore: cleanup .zshrc, remove old loads
This commit is contained in:
parent
707a99b939
commit
9ecffd949a
@ -1,3 +1,6 @@
|
|||||||
|
# Update Repo
|
||||||
|
source $HOME/.dotfiles/configs/zsh/update-repo.zsh
|
||||||
|
|
||||||
# p10k
|
# p10k
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
@ -7,6 +10,7 @@ ZSH_THEME="powerlevel10k/powerlevel10k"
|
|||||||
plugins=(
|
plugins=(
|
||||||
git
|
git
|
||||||
asdf
|
asdf
|
||||||
|
docker
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -25,36 +29,15 @@ source $HOME/.dotfiles/configs/zsh/functions.zsh
|
|||||||
source $HOME/.dotfiles/configs/zsh/aliases.sh
|
source $HOME/.dotfiles/configs/zsh/aliases.sh
|
||||||
|
|
||||||
## LOADING PROGRAMS
|
## LOADING PROGRAMS
|
||||||
export PATH="$PATH:$HOME/.yarn/bin"
|
|
||||||
export PATH="$PATH:$HOME/.local/bin"
|
|
||||||
export PATH="$PATH:$HOME/bin"
|
export PATH="$PATH:$HOME/bin"
|
||||||
export PATH="$PATH:$HOME/go/bin"
|
|
||||||
|
|
||||||
export PATH="$PATH:/mnt/c/users/jim/AppData/Local/Programs/Microsoft VS Code Insiders/bin";
|
|
||||||
export PATH="$PATH:/mnt/c/users/jim/AppData/Local/Programs/Microsoft VS Code/bin";
|
|
||||||
|
|
||||||
export DENO_INSTALL="/home/jim/.deno"
|
|
||||||
export PATH="$PATH:$DENO_INSTALL/bin"
|
|
||||||
|
|
||||||
## Setup VIM
|
## Setup VIM
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
|
||||||
## GO STUFF
|
# Automatically load direnv if found
|
||||||
export PATH=$PATH:/usr/local/go/bin
|
|
||||||
|
|
||||||
[[ -s $(which direnv) ]] && eval "$(direnv hook zsh)"
|
[[ -s $(which direnv) ]] && eval "$(direnv hook zsh)"
|
||||||
|
|
||||||
#Java version manager
|
# Load DOTNet if found
|
||||||
#export SDKMAN_DIR="$HOME/.sdkman"
|
|
||||||
#[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
|
||||||
|
|
||||||
# Go version manager
|
|
||||||
#[[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm"
|
|
||||||
|
|
||||||
# Node Version manager
|
|
||||||
#export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
|
||||||
#[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
|
||||||
|
|
||||||
if [ -d $HOME/.dotnet ]; then
|
if [ -d $HOME/.dotnet ]; then
|
||||||
export DOTNET_ROOT=$HOME/.dotnet;
|
export DOTNET_ROOT=$HOME/.dotnet;
|
||||||
export PATH=$PATH:$HOME/.dotnet;
|
export PATH=$PATH:$HOME/.dotnet;
|
||||||
@ -67,17 +50,8 @@ if [ -s "$HOME/.pyenv" ]; then
|
|||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# For wsl stay in the current dir when splitting panes?
|
|
||||||
export PROMPT_COMMAND='printf "\e]9;9;%s\e\\" "$(wslpath -m "$PWD")"'
|
|
||||||
|
|
||||||
source $HOME/.dotfiles/configs/zsh/update-repo.zsh
|
|
||||||
|
|
||||||
# The next line updates PATH for the Google Cloud SDK.
|
|
||||||
#if [ -f '/home/coder/downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/home/coder/downloads/google-cloud-sdk/path.zsh.inc'; fi
|
|
||||||
|
|
||||||
# The next line enables shell command completion for gcloud.
|
|
||||||
#if [ -f '/home/coder/downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/coder/downloads/google-cloud-sdk/completion.zsh.inc'; fi
|
|
||||||
|
|
||||||
|
#Load ASDF Version manager if found
|
||||||
if [ -s "$HOME/.asdf" ]; then
|
if [ -s "$HOME/.asdf" ]; then
|
||||||
. $HOME/.asdf/asdf.sh
|
. $HOME/.asdf/asdf.sh
|
||||||
. $HOME/.asdf/completions/asdf.bash
|
. $HOME/.asdf/completions/asdf.bash
|
||||||
|
Loading…
Reference in New Issue
Block a user