irongit

A combination of vim and bash that I find useful

ghostshell/ghost.sh
31 lines1017 BBourne 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 Gsecret='vim ~/.ghost/secret.sh'
22alias postgres='docker run -p 5432:5432 --name postgres -e POSTGRES_HOST_AUTH_METHOD=trust -v postgres -d postgres:15'
23alias pm='python -m'
24alias pi='python -m pip install'
25alias djp='django-admin startproject'
26alias dwipe='~/.ghost/dwipe.sh'
27alias Ggit='vim ~/.gitconfig'
28alias ddev='docker compose -f dev-compose.yml up -d --remove-orphans'
29alias Gcd='cd ~/.ghost'
30
31source ~/.ghost/gfuncs.sh