I hereby claim:
- I am sebastianvera on github.
- I am sebastianvera (https://keybase.io/sebastianvera) on keybase.
- I have a public key ASCRufEycpiGNUxUPuv6SB6Jxw_DEwKNAs5Q7aPc7pcthQo
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # Simple script to login via ssh to google instances | |
| # | |
| # Usage: gssh [--list] INSTANCE_NAME | |
| GCLOUDCMD=$( which gcloud ) | |
| if [ -z "$GCLOUDCMD" ]; then | |
| echo "gcloud not found" |
| let mapleader = " " | |
| " Install vundle | |
| let shouldInstallBundles = 0 | |
| if !filereadable($HOME . "/.config/nvim/autoload/plug.vim") | |
| echo "~≥ Installing vim-plug \n" | |
| silent !curl -fLo $HOME/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| let shouldInstallBundles = 1 | |
| endif |
| # tmux prefix | |
| unbind C-b | |
| set -g prefix C-a | |
| # set -g default-terminal "xterm-256color" | |
| set -g default-terminal "screen-256color" | |
| set -ga terminal-overrides ",xterm-256color:Tc" | |
| # Enable true color - tmux 2.2+ | |
| # https://deductivelabs.com/en/2016/03/using-true-color-vim-tmux/ | |
| # set-option -ga terminal-overrides ",xterm-256color:Tc" |
| ########################### | |
| # Configuration | |
| ########################### | |
| # increase scroll-back history | |
| set -g history-limit 5000 | |
| # use vim key bindings | |
| setw -g mode-keys vi |
| let mapleader = " " | |
| " Install vundle | |
| let shouldInstallBundles = 0 | |
| if !filereadable($HOME . "/.config/nvim/autoload/plug.vim") | |
| echo "~≥ Installing vim-plug \n" | |
| silent !curl -fLo $HOME/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| let shouldInstallBundles = 1 | |
| endif |
I hereby claim:
To claim this, I am signing this object:
| let mapleader = " " | |
| " Install vundle | |
| let shouldInstallBundles = 0 | |
| if !filereadable($HOME . "/.config/nvim/autoload/plug.vim") | |
| echo "~≥ Installing vim-plug \n" | |
| silent !curl -fLo $HOME/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| let shouldInstallBundles = 1 | |
| endif |
| ########################### | |
| # Configuration | |
| ########################### | |
| # use 256 term for pretty colors | |
| set -g default-terminal 'xterm-256color' | |
| # increase scroll-back history | |
| set -g history-limit 5000 |
| let mapleader = " " | |
| " Install vundle | |
| let shouldInstallBundles = 0 | |
| if !filereadable($HOME . "/.config/nvim/autoload/plug.vim") | |
| echo "~≥ Installing vim-plug \n" | |
| silent !curl -fLo $HOME/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| let shouldInstallBundles = 1 | |
| endif |
| -- Official docs: http://www.postgresql.org/docs/9.3/static/app-psql.html | |
| -- Unofficial docs: http://robots.thoughtbot.com/improving-the-command-line-postgres-experience | |
| -- Don't display the "helpful" message on startup. | |
| \set QUIET 1 | |
| \pset null '[NULL]' | |
| -- http://www.postgresql.org/docs/9.3/static/app-psql.html#APP-PSQL-PROMPTING | |
| -- \set PROMPT1 '%[%033[38;5;214m%]%M[%033[0m% %n@%/%R%[%033[0m%]%# ' | |
| \set PROMPT1 '%[%033[38;5;203m%]%M%[%033[0m%] %n@%/%R%[%033[0m%]%# ' |