This commit is contained in:
2023-05-24 13:35:32 +02:00
parent e12fbd0689
commit 0698c60a3d
8 changed files with 65 additions and 24 deletions
+3 -2
View File
@@ -8,6 +8,7 @@ alias pm='python manage.py'
alias pmt='clear && pm test'
alias sp='python manage.py shell_plus'
alias mkmg='python manage.py makemigrations'
alias pms='pm showmigrations'
alias mg='python manage.py migrate'
alias gp='git push'
alias ga!='git commit --amend --no-edit --date now'
@@ -16,14 +17,14 @@ alias n='cd . && nvim -S'
alias v='nvim'
alias vi='nvim'
alias vim='nvim'
alias fm='vifm'
alias fm='vifm .'
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.7 pip ipython memory_profiler psycopg2 black isort }
cdc() { conda create --name "$@" python=3.9 pip ipython memory_profiler psycopg2 black isort }
cdi() { conda info --envs "$@" }
ca() { pygmentize -g "$@" }
grepf() { grep -rnw ./ -e "$@"}