dotfiles/zsh/zshrc

36 lines
950 B
Bash
Raw Normal View History

2022-05-01 20:13:40 +01:00
export ZSH="/home/thomas/.oh-my-zsh"
alias vim="nvim"
alias cat="bat"
2024-01-13 13:38:38 +00:00
alias grep="rg"
2024-02-26 19:13:00 +00:00
alias z="cd /home/thomas/repos/eolas"
alias zn="/home/thomas/repos/eolas/scripts/new_zk_note.sh"
alias dot="cd /home/thomas/dotfiles"
# 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"
2022-05-01 20:13:40 +01:00
# Set properties based on OS
2024-01-23 17:41:03 +00:00
ZSH_THEME=""
2024-01-23 18:07:35 +00:00
plugins=(git npm fzf-tab zsh-autosuggestions zsh-syntax-highlighting)
2022-05-01 20:13:40 +01:00
2023-01-21 13:52:58 +00:00
# Search against /home/thomas/repos/computer_science
2022-05-01 20:13:40 +01:00
# User configuration
source ~/dotfiles/.env
2022-05-01 20:13:40 +01:00
source $ZSH/oh-my-zsh.sh
2022-05-03 21:26:33 +01:00
2023-01-20 08:01:36 +00:00
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
2022-06-04 20:31:03 +01:00
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
2024-02-26 19:13:00 +00:00
2024-01-13 13:38:38 +00:00
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
2024-01-23 17:41:03 +00:00
eval "$(starship init zsh)"