This commit is contained in:
Niko Abeler 2022-12-07 14:22:06 +01:00
parent 9f042c923e
commit a016d75e0f
1 changed files with 32 additions and 0 deletions

32
.zshrc Normal file
View File

@ -0,0 +1,32 @@
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/h4kor/.oh-my-zsh"
ZSH_THEME="agnoster"
plugins=(git mix virtualenv npm sudo web-search)
source $ZSH/oh-my-zsh.sh
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='nvim'
else
export EDITOR='nvim'
fi
export FZF_DEFAULT_COMMAND='fdfind --type f'
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/h4kor/google-cloud-sdk/path.zsh.inc' ]; then . '/home/h4kor/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/h4kor/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/h4kor/google-cloud-sdk/completion.zsh.inc'; fi
alias vv=". venv/bin/activate"
alias djs="python manage.py shell"
alias djr="python manage.py runserver"
alias djmm="python manage.py makemigrations"
alias djmi="python manage.py migrate"