Zsh files
This commit is contained in:
58
.zshrc
Normal file
58
.zshrc
Normal file
@@ -0,0 +1,58 @@
|
||||
# Path to your Oh My Zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
PROMPT="%B%~%b :: "
|
||||
RPROMPT="%n@%m"
|
||||
|
||||
# Plugins
|
||||
plugins=(
|
||||
git
|
||||
zsh-syntax-highlighting
|
||||
zsh-autosuggestions
|
||||
)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# Add to PATH
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
|
||||
# GVM
|
||||
[[ -s "/home/mangopig/.gvm/scripts/gvm" ]] && source "/home/mangopig/.gvm/scripts/gvm"
|
||||
|
||||
# Golang
|
||||
# Ensure Go binary is in PATH
|
||||
export GOROOT=/usr/local/go
|
||||
export GOPATH=$HOME/Programming/go
|
||||
export GOBIN=$GOPATH/bin
|
||||
|
||||
# Set PATH correctly
|
||||
export PATH=$GOROOT/bin:$GOBIN:$GOPATH/bin:$PATH
|
||||
|
||||
# NVM
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||
|
||||
# Zoxide
|
||||
eval "$(zoxide init --cmd cd zsh)"
|
||||
|
||||
# Source the aliases file
|
||||
source ~/.zsh_aliases
|
||||
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/home/mangopig/Programming/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
if [ -f "/home/mangopig/Programming/miniconda3/etc/profile.d/conda.sh" ]; then
|
||||
. "/home/mangopig/Programming/miniconda3/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/home/mangopig/Programming/miniconda3/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
||||
Reference in New Issue
Block a user