dotfiles/zsh/zshrc
2024-12-01 17:55:07 +00:00

55 lines
1.6 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/dotfiles"
alias ddb="aws dynamodb"
alias zcom="/home/thomas/repos/eolas/scripts/auto_save.sh"
alias sysobs="cd /home/thomas/repos/systems-obscure"
# 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"
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
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 OPENAI_API_KEY=${OPENAI_API_KEY}
#
if [ -e /home/thomas/.nix-profile/etc/profile.d/nix.sh ]; then . /home/thomas/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
## [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]