This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
powerpanel-webview/zsh/zshrc
2020-05-16 15:20:41 -05:00

65 lines
1.5 KiB
Bash

# New .zshrc who dis
# NECESSARY IMPORTS
# | This is a section for adding imports that allow certain things to be
# | accessible, such as "nodenv", "rustup", "pyenv", etc.
# Base16 Shell
BASE16_SHELL="$HOME/.config/base16-shell/"
[ -n "$PS1" ] && \
[ -s "$BASE16_SHELL/profile_helper.sh" ] && \
eval "$("$BASE16_SHELL/profile_helper.sh")"
# Antigen
ANTIGEN="$HOME/.local/share/antigen.zsh"
[ -n "$PS1" ] && \
[ -s "$ANTIGEN" ] && \
source $ANTIGEN
# Pyenv
export PATH="$HOME/.pyenv/bin:$PATH"
export PATH="$HOME/.local/share:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv shell 3.8.0
# thefuck, needs to happen after pyenv
export PATH="$HOME/.local/bin:$PATH"
eval $(thefuck --alias)
# This adds "nodenv" to the path
export PATH="$HOME/.nodenv/bin:$PATH"
eval "$(nodenv init -)"
# This adds rustup to the path
export PATH=$PATH:$HOME/.cargo/bin
# Set default-jdk as the active JDK
JDK_HOME=/usr/lib/jvm/java-11-openjdk-amd64
JAVA_HOME=$JDK_HOME
# ANTIGEN PLUGINS
# | Install wanted Antigen plugins if needed
antigen bundle git
antigen bundle pip
antigen bundle command-not-found
antigen bundle agkozak/zsh-z
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen apply
# ALIASES
# | Essentially, creature comforts for using the terminal
alias cat=bat
alias vim=nvim
alias vi=nvim
alias v=nvim
alias ls=exa
alias l=exa\ -al
export DOTNET_CLI_TELEMETRY_OUTPUT=1
# START STARSHIP
# | This starts the starship cross-shell prompt
eval "$(starship init zsh)"