From 148b4773bd1eb61ec2925e3ac29ff9e898434791 Mon Sep 17 00:00:00 2001 From: Abhay Rana <me@captnemo.in> Date: Mon, 11 Jul 2016 14:14:04 +0530 Subject: [PATCH] [ssh] private ssh config - ssh config split to two files - PERL module config improved --- files/bash/.bashrc | 8 ++++++++ files/i3/.i3/config | 1 + files/ssh/.ssh/config.d/.gitignore | 1 + files/ssh/.ssh/config.d/public | 21 +++++++++++++++++++++ 4 files changed, 30 insertions(+), 1 deletion(-) diff --git a/files/bash/.bashrc b/files/bash/.bashrc index f660675..e5b4f5d 100644 --- a/files/bash/.bashrc +++ a/files/bash/.bashrc @@ -265,6 +265,7 @@ alias lu='ls -ltur' # sort by and show access time, most recent last alias lx='ls -lXB' # sort by extension alias sss='sudo systemctl start' +alias ssh="cat ~/.ssh/config.d/* > ~/.ssh/config; ssh" alias ssr='sudo systemctl restart' alias cda='composer dump-autoload' @@ -372,4 +373,9 @@ } #SCM Breeze -[ -s "/home/nemo/.scm_breeze/scm_breeze.sh" ] && source "/home/nemo/.scm_breeze/scm_breeze.sh"+[ -s "/home/nemo/.scm_breeze/scm_breeze.sh" ] && source "/home/nemo/.scm_breeze/scm_breeze.sh" +PATH="/home/nemo/perl5/bin${PATH:+:${PATH}}"; export PATH; +PERL5LIB="/home/nemo/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; +PERL_LOCAL_LIB_ROOT="/home/nemo/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; +PERL_MB_OPT="--install_base \"/home/nemo/perl5\""; export PERL_MB_OPT; +PERL_MM_OPT="INSTALL_BASE=/home/nemo/perl5"; export PERL_MM_OPT; diff --git a/files/i3/.i3/config b/files/i3/.i3/config index a748fe6..8d86ff6 100644 --- a/files/i3/.i3/config +++ a/files/i3/.i3/config @@ -227,6 +227,7 @@ for_window [window_role="pop-up"] floating enable for_window [window_role="bubble"] floating enable for_window [class="xpad"] floating enable +for_window [class="Zeal"] floating enable # Sticky Notepad exec --no-startup-id xpad diff --git a/files/ssh/.ssh/config.d/.gitignore b/files/ssh/.ssh/config.d/.gitignore new file mode 100644 index 0000000..3e18ebf 100644 --- /dev/null +++ a/files/ssh/.ssh/config.d/.gitignore @@ -1,0 +1,1 @@ +private diff --git a/files/ssh/.ssh/config.d/public b/files/ssh/.ssh/config.d/public new file mode 100644 index 0000000..df29e79 100644 --- /dev/null +++ a/files/ssh/.ssh/config.d/public @@ -1,0 +1,21 @@ +Host * + SendEnv no + +Host bitbucket.org + Compression yes + ControlMaster yes + ControlPersist 1h + +Host gh + HostName github.com + User git + Compression yes + ControlMaster yes + ControlPersist 1h + +Host koding + User captn3m0 + HostName vm-0.captn3m0.koding.kd.io + ProxyCommand ssh %r@ssh.koding.com nc %h %p + Protocol 2 + ServerAliveInterval 60-- rgit 0.1.5