dotfiles/zsh/zshrc
2026-03-02 17:09:23 +00:00

64 lines
1.8 KiB
Bash

export ZSH="/home/thomas/.oh-my-zsh"
alias vim="nvim"
alias cat="bat"
alias grep="rg"
alias tw="timew"
alias zj="zellij"
alias z="cd /home/thomas/repos/eolas/zk"
alias zn="/home/thomas/repos/eolas/scripts/new_zk_note.sh"
alias dot="cd /home/thomas/repos/dotfiles"
alias ddb="aws dynamodb"
alias zcom="/home/thomas/repos/eolas/scripts/auto_save.sh"
alias sysobs="cd /home/thomas/repos/systems-obscure"
alias gs="git status"
alias ga="git add"
alias gc="git commit"
alias syncmus="/home/thomas/repos/utilities/music_sync/update_music_library.sh"
alias dc="docker compose"
alias neofetch="fastfetch"
alias dis-refresh='rm -rf ~/.local/share/kscreen/ && pkill kscreen'
# alias xhd="cd /run/media/thomas"
# alias cs-update="/home/thomas/repos/eolas/_scripts/auto_save.sh"
# alias cs-query="/home/thomas/repos/eolas/_scripts/query.sh"
# Set properties based on OS
# ZSH_THEME="thomas"
#ZSH_THEME="thomas"
ZSH_THEME="robbyrussell"
plugins=(git npm fzf-tab zsh-autosuggestions zsh-syntax-highlighting)
# Search against /home/thomas/repos/computer_science
# User configuration
source ~/.env
export EDITOR='nvim'
source $ZSH/oh-my-zsh.sh
alias ls="eza"
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
#export PYENV_ROOT="$HOME/.pyenv"
#export PATH="$PYENV_ROOT/bin:$PATH"
#eval "$(pyenv init --path)"
#export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
# export OPENAI_API_KEY=${OPENAI_API_KEY}
#
## [Completion]
## Completion scripts setup. Remove the following line to uninstall
[[ -f /home/thomas/.config/.dart-cli-completion/zsh-config.zsh ]] && . /home/thomas/.config/.dart-cli-completion/zsh-config.zsh || true
## [/Completion]