irongit

A combination of vim and bash that I find useful

added some postgres stuff

FIRST_NAME LAST_NAMEauthored
parent 6f26093commit 385adaab8291760a9a89bbe60910b9441e9ede45Browse files

3 files changed, +9 -4

+1-0.bashrc
@@ -1,2 +1,3 @@
11 source ~/.ghost/ghost.sh
22 source ~/.ghost/ghost.sh
3+source ~/.ghost/ghost.sh
+6-0ghost.sh
@@ -120,3 +120,9 @@ function gcode {
120120 echo "Opening $choice with vscode"
121121 code $choice
122122 }
123+function postgres {
124+ docker run -p 5432:5432 --name postgres -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres
125+}
126+function psql {
127+ docker exec -it postgres psql -U postgres $@
128+}
+2-4install.sh
@@ -1,4 +1,6 @@
11 #!/bin/bash
2+touch ~/.bashrc
3+touch ~/.vimrc
24 if grep -q 'source ~/.ghost/ghost.sh' ~/.bashrc
35 then
46 echo 'Bash is configured for ghostshell'
@@ -29,12 +31,8 @@ plug () {
2931 }
3032
3133 plug preservim/nerdtree
32-plug ycm-core/YouCompleteMe
3334 plug rafi/awesome-vim-colorschemes
3435 plug davidhalter/jedi-vim
3536 plug ryanoasis/vim-devicons
3637 echo
3738
38-cd YouCompleteMe
39-git submodule update --init --recursive
40-./install.py