irongit

A combination of vim and bash that I find useful

ghostshell/ghost.sh
34 lines1.2 KBBourne Again Shell (bash)
1touch ~/.ghost/secret.sh
2source ~/.ghost/secret.sh
3git config --global core.autocrlf input
4git config --global pull.rebase true
5if 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'
10else
11 alias python=python3
12fi
13alias Vim='vim ~/.vimrc'
14alias Gvim='vim ~/.ghost/ghost.vimrc'
15alias Gbash='vim ~/.ghost/ghost.sh'
16alias Gfuncs='vim ~/.ghost/gfuncs.sh'
17alias clip=clip.exe
18alias Bash='vim ~/.bashrc'
19alias Source='source ~/.bashrc'
20alias ghook='~/.ghost/ghook/startproject.sh'
21alias venv='python -m venv venv'
22alias Gsecret='vim ~/.ghost/secret.sh'
23alias postgres='docker run -p 5432:5432 --name postgres -e POSTGRES_HOST_AUTH_METHOD=trust -v postgres -d postgres:15'
24alias psql='docker exec -it postgres psql -U postgres'
25alias redis='docker run -p 6379:6379 --name redis -v redis -d redis:5'
26alias redis-cli='docker exec -it redis redis-cli'
27alias pm='python -m'
28alias pi='python -m pip install'
29alias djp='django-admin startproject'
30alias dwipe='~/.ghost/dwipe.sh'
31alias Ggit='vim ~/.gitconfig'
32alias ddev='docker compose -f dev-compose.yml up -d --remove-orphans'
33
34source ~/.ghost/gfuncs.sh