zsh
This commit is contained in:
parent
9f042c923e
commit
a016d75e0f
|
@ -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"
|
Loading…
Reference in New Issue