Clean up .zshrc path and editor

This commit is contained in:
Tim 2021-06-21 16:45:58 +02:00
parent 483afce25e
commit 79d0226623

View File

@ -65,7 +65,7 @@ ZSH_THEME="powerlevel10k/powerlevel10k"
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications, # or set a custom format using the strftime function format specifications,
# see 'man strftime' for details. # see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy" HIST_STAMPS="yyyy-mm-dd"
# Would you like to use another custom folder than $ZSH/custom? # Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder # ZSH_CUSTOM=/path/to/new-custom-folder
@ -100,11 +100,11 @@ fi
# export LANG=en_US.UTF-8 # export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions # Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim' export EDITOR='nano'
# else else
# export EDITOR='mvim' export EDITOR='code --wait'
# fi fi
# Compilation flags # Compilation flags
# export ARCHFLAGS="-arch x86_64" # export ARCHFLAGS="-arch x86_64"
@ -121,17 +121,18 @@ fi
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
export PATH="$HOME/LetsTalk/projects/devdocker/bin:$PATH" # Path additions
export PATH="$HOME/.local/bin:$PATH" export PATH=$HOME/.local/bin:$PATH
export PATH="$HOME/bin:$PATH" export PATH=$HOME/bin:$PATH
export PATH=$PATH:/snap/bin
# Autocomplete kubectx/kubens export PATH=$PATH:$HOME/.composer/vendor/bin
autoload -U compinit && compinit
# Go # Go
export GOPATH=$HOME/go export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin:/snap/bin:$HOME/.composer/vendor/bin export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
export EDITOR="code --wait"
# Autocomplete kubectx/kubens
autoload -U compinit && compinit
# Kube # Kube
#KUBECONFIG="" #KUBECONFIG=""