| 1 | touch ~/.ghost/secret.sh |
| 2 | source ~/.ghost/secret.sh |
| 3 | git config --global core.autocrlf input |
| 4 | git config --global pull.rebase true |
| 5 | if uname -a | grep -q MINGW;then |
| 6 | export thisos='windows' |
| 7 | alias python3=python |
| 8 | alias Python=python |
| 9 | alias drivers='/c/Windows/System32/drivers/etc' |
| 10 | else |
| 11 | alias python=python3 |
| 12 | fi |
| 13 | alias Vim='vim ~/.vimrc' |
| 14 | alias Gvim='vim ~/.ghost/ghost.vimrc' |
| 15 | alias Gbash='vim ~/.ghost/ghost.sh' |
| 16 | alias Gfuncs='vim ~/.ghost/gfuncs.sh' |
| 17 | alias clip=clip.exe |
| 18 | alias Bash='vim ~/.bashrc' |
| 19 | alias Source='source ~/.bashrc' |
| 20 | alias ghook='~/.ghost/ghook/startproject.sh' |
| 21 | alias venv='python -m venv venv' |
| 22 | alias Gsecret='vim ~/.ghost/secret.sh' |
| 23 | alias postgres='docker run -p 5432:5432 --name postgres -e POSTGRES_HOST_AUTH_METHOD=trust -v postgres -d postgres:15' |
| 24 | alias psql='docker exec -it postgres psql -U postgres' |
| 25 | alias redis='docker run -p 6379:6379 --name redis -v redis -d redis:5' |
| 26 | alias redis-cli='docker exec -it redis redis-cli' |
| 27 | alias pm='python -m' |
| 28 | alias pi='python -m pip install' |
| 29 | alias djp='django-admin startproject' |
| 30 | alias dwipe='~/.ghost/dwipe.sh' |
| 31 | alias Ggit='vim ~/.gitconfig' |
| 32 | alias ddev='docker compose -f dev-compose.yml up -d --remove-orphans' |
| 33 | |
| 34 | source ~/.ghost/gfuncs.sh |