2022-05-01 20:13:40 +01:00
|
|
|
export ZSH="/home/thomas/.oh-my-zsh"
|
|
|
|
|
|
|
|
alias vim="nvim"
|
|
|
|
alias cat="bat"
|
|
|
|
alias grep="rg"
|
2022-05-03 21:26:33 +01:00
|
|
|
alias chrome="google-chrome-stable"
|
2022-06-04 20:31:03 +01:00
|
|
|
alias spot="ncspot"
|
2023-01-13 16:50:54 +00:00
|
|
|
alias xhd="cd /run/media/thomas"
|
2023-01-20 08:01:36 +00:00
|
|
|
alias cs-save="/home/thomas/repos/bash_scripts/automate_commit.sh"
|
|
|
|
alias cs-clean=""
|
|
|
|
alias cs-all=""
|
2022-05-01 20:13:40 +01:00
|
|
|
# Set properties based on OS
|
|
|
|
|
2023-01-20 08:01:36 +00:00
|
|
|
ZSH_THEME=spaceship
|
|
|
|
SPACESHIP_TIME_SHOW=false
|
|
|
|
SPACESHIP_PROMPT_ASYNC=true
|
|
|
|
SPACESHIP_CHAR_SYMBOL="▶ "
|
|
|
|
#SPACESHIP_CHAR_SUFFIX="}"
|
|
|
|
plugins=(git npm zsh-autosuggestions zsh-syntax-highlighting)
|
2022-05-01 20:13:40 +01:00
|
|
|
|
|
|
|
# User configuration
|
|
|
|
|
|
|
|
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
|