mirror of
https://github.com/andwati/dotfiles.git
synced 2026-11-28 13:38:48 +00:00
zshrc
This commit is contained in:
@@ -1,21 +1,21 @@
|
|||||||
# Use powerline
|
# Lines configured by zsh-newuser-install
|
||||||
USE_POWERLINE="true"
|
HISTFILE=~/.histfile
|
||||||
# Has weird character width
|
HISTSIZE=1000
|
||||||
# Example:
|
SAVEHIST=1000
|
||||||
# is not a diamond
|
setopt autocd extendedglob nomatch notify
|
||||||
HAS_WIDECHARS="false"
|
unsetopt beep
|
||||||
# Source manjaro-zsh-configuration
|
bindkey -e
|
||||||
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
|
# End of lines configured by zsh-newuser-install
|
||||||
source /usr/share/zsh/manjaro-zsh-config
|
# The following lines were added by compinstall
|
||||||
fi
|
zstyle :compinstall filename '/home/ian/.zshrc'
|
||||||
# Use manjaro zsh prompt
|
|
||||||
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
|
autoload -Uz compinit
|
||||||
source /usr/share/zsh/manjaro-zsh-prompt
|
compinit
|
||||||
fi
|
# End of lines added by compinstall
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init - zsh)"
|
eval "$(pyenv init - zsh)"
|
||||||
source /usr/share/nvm/init-nvm.sh
|
eval "$(mise activate bash)"
|
||||||
|
|
||||||
# >>> conda initialize >>>
|
# >>> conda initialize >>>
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
@@ -32,3 +32,48 @@ fi
|
|||||||
unset __conda_setup
|
unset __conda_setup
|
||||||
# <<< conda initialize <<<
|
# <<< 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)"
|
||||||
|
eval "$(mise activate bash)"
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init - zsh)"
|
||||||
|
eval "$(mise activate bash)"
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init - zsh)"
|
||||||
|
eval "$(mise activate bash)"
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init - zsh)"
|
||||||
|
eval "$(mise activate bash)"
|
||||||
|
|||||||
Reference in New Issue
Block a user