🏡 index : github.com/captn3m0/dotfiles.git

author Abhay Rana <me@captnemo.in> 2016-07-11 14:14:04.0 +05:30:00
committer Abhay Rana <me@captnemo.in> 2016-07-11 14:14:04.0 +05:30:00
commit
148b4773bd1eb61ec2925e3ac29ff9e898434791 [patch]
tree
50831f17e907c29edb2cd0e9434af6ed86be287e
parent
91dab253953924983ddb7c2d8e5ab8d6031b34a6
download
1.0.0.tar.gz

[ssh] private ssh config

- ssh config split to two files
- PERL module config improved

Diff

 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