mirror of
https://github.com/andwati/dotfiles.git
synced 2026-10-18 02:52:52 +00:00
67 lines
1.9 KiB
Bash
67 lines
1.9 KiB
Bash
# Lines configured by zsh-newuser-install
|
|
HISTFILE=~/.histfile
|
|
HISTSIZE=1000
|
|
SAVEHIST=1000
|
|
setopt autocd extendedglob nomatch notify
|
|
unsetopt beep
|
|
bindkey -e
|
|
# End of lines configured by zsh-newuser-install
|
|
# The following lines were added by compinstall
|
|
zstyle :compinstall filename '/home/ian/.zshrc'
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
# End of lines added by compinstall
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
|
eval "$(pyenv init - zsh)"
|
|
eval "$(mise activate bash)"
|
|
|
|
# >>> conda initialize >>>
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
__conda_setup="$('/home/ian/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
|
if [ $? -eq 0 ]; then
|
|
eval "$__conda_setup"
|
|
else
|
|
if [ -f "/home/ian/anaconda3/etc/profile.d/conda.sh" ]; then
|
|
. "/home/ian/anaconda3/etc/profile.d/conda.sh"
|
|
else
|
|
export PATH="/home/ian/anaconda3/bin:$PATH"
|
|
fi
|
|
fi
|
|
unset __conda_setup
|
|
# <<< conda initialize <<<
|
|
|
|
|
|
export NVM_DIR="$HOME/.nvm"
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
|
|
# Created by `pipx` on 2025-05-12 09:40:08
|
|
export PATH="$PATH:/home/ian/.local/bin"
|
|
|
|
eval "$(oh-my-posh init zsh)"
|
|
# Install Ruby Gems to ~/gems
|
|
export GEM_HOME="$HOME/gems"
|
|
export PATH="$HOME/gems/bin:$PATH"
|
|
|
|
export JAVA_HOME=/usr/lib/jvm/java-17-amazon-corretto
|
|
export PATH=$PATH:$JAVA_HOME/bin
|
|
|
|
export ANDROID_HOME=$HOME/Android/Sdk
|
|
export PATH=$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$PATH
|
|
|
|
# Nord dircolors setup
|
|
eval "$(dircolors -b ~/.dircolors)"
|
|
|
|
# Modern ls replacement with Nord-compatible colors
|
|
alias ls='eza --icons'
|
|
alias ll='eza -lah --icons'
|
|
alias la='eza -a --icons'
|
|
alias tree='eza --tree --level=2 --icons'
|
|
|
|
alias cat='bat'
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
|
eval "$(pyenv init - zsh)"
|