Update tmux conf, django alias for runserver, custom commands

This commit is contained in:
2020-08-06 18:09:35 +02:00
parent 5174af181a
commit 8510af21d0
4 changed files with 12 additions and 8 deletions
+4 -3
View File
@@ -5,18 +5,19 @@ alias lla='ls -al'
alias mux='tmuxinator'
alias pm='python manage.py'
alias pmt='clear && pm test'
alias sp='python manage.py shell_plus'
alias mkmg='python manage.py makemigrations'
alias mg='python manage.py migrate'
alias gp='git push'
alias rs='python manage.py runserver'
alias rs2='python manage.py runserver 127.0.0.2'
alias ga!='git commit --amend --no-edit --date now'
rs() {python manage.py runserver 127.0.0."$1":"$2"}
cheat() { curl cheat.sh/"$1" }
cda() { conda activate "$@" }
cdd() { conda deactivate "$@" }
cdc() { conda create --name "$@" python=3.5 pip }
cdc() { conda create --name "$@" python=3.6 pip }
cdi() { conda info --envs "$@" }
ca() { pygmentize -g "$@" }
grepf() { grep -rnw ./ -e "$@"}
+2 -1
View File
@@ -18,8 +18,9 @@ fi
unset __conda_setup
#<<< conda initialize <<<
export PATH=$HOME/Documents/Arcanite/git_ci_runner:$PATH
export PATH=$HOME/custom_commands:$PATH
export NB_MINIONS=4
export VAGRANT_TYPE='abacus-abahost'
export VISUAL=nvim
export EDITOR=nvim