dotfiles/zsh/zshrc

63 lines
1.7 KiB
Bash
Raw Permalink Normal View History

2022-05-01 20:13:40 +01:00
2024-10-27 16:21:40 +00:00
export ZSH="/home/thomas/.oh-my-zsh"
2022-05-01 20:13:40 +01:00
alias vim="nvim"
alias cat="bat"
2024-01-13 13:38:38 +00:00
alias grep="rg"
2024-03-02 18:02:48 +00:00
alias tw="timew"
2024-12-01 17:55:07 +00:00
alias zj="zellij"
2024-11-17 15:09:38 +00:00
alias z="cd /home/thomas/repos/eolas/zk"
2024-02-26 19:13:00 +00:00
alias zn="/home/thomas/repos/eolas/scripts/new_zk_note.sh"
alias dot="cd /home/thomas/dotfiles"
2024-10-27 16:21:40 +00:00
alias ddb="aws dynamodb"
alias zcom="/home/thomas/repos/eolas/scripts/auto_save.sh"
alias sysobs="cd /home/thomas/repos/systems-obscure"
2025-04-06 15:37:42 +01:00
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 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-03-28 13:42:56 +00:00
# ZSH_THEME="thomas"
2024-03-26 09:56:45 +00:00
ZSH_THEME="thomas"
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
2024-03-28 13:42:56 +00:00
source ~/.env
2024-10-27 16:21:40 +00:00
export EDITOR='nvim'
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-03-28 13:42:56 +00:00
#export PYENV_ROOT="$HOME/.pyenv"
#export PATH="$PYENV_ROOT/bin:$PATH"
#eval "$(pyenv init --path)"
2024-01-13 13:38:38 +00:00
2024-01-23 17:41:03 +00:00
2024-03-01 16:31:29 +00:00
export PATH="$HOME/.local/bin:$PATH"
2024-03-28 13:42:56 +00:00
# export OPENAI_API_KEY=${OPENAI_API_KEY}
2024-11-17 15:09:38 +00:00
#
2024-12-01 17:55:07 +00:00
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]