Skip to content

Commit

Permalink
v
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Papperello committed Mar 28, 2019
1 parent 229c418 commit 5df77d6
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 7 deletions.
4 changes: 2 additions & 2 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ec2-info() {
}
export EDITOR=vim
export GOPATH=$HOME/code/go
export PATH=$HOME/bin:$HOME/bin/fzf/bin/:$HOME/gobin/go/bin/:/usr/local/go/bin:$HOME/perl5/bin:/usr/sbin/:$GOPATH/bin:$HOME/Library/Python/2.7/bin:$HOME/bin/vim/vim-8.0.1481/bin/bin/:$PATH
export PATH=$HOME/bin:$HOME/bin/fzf/bin/:$HOME/gobin/go/bin/:/usr/local/go/bin:$HOME/perl5/bin:/usr/sbin/:$GOPATH/bin:$HOME/Library/Python/2.7/bin:$HOME/bin/vim/vim-8.0.1481/bin/bin/:/usr/local/MacGPG2/bin/:/usr/local/bin/:$PATH
[ -f $HOME/perl5/lib/perl5/Devel/Local.pm ] && source `which devel-local.sh`
function github() {
git clone [email protected]:SocialFlowDev/$1.git
Expand Down Expand Up @@ -82,7 +82,7 @@ elif command -v ack-grep >/dev/null 2>&1; then
fi
[ -f /home/joe/dotfiles/additional_options ] && . /home/joe/dotfiles/additional_options
export GOPATH=$HOME/code/go
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOPATH/bin:$HOME/.local/bin
export PERLBREW_ROOT=$HOME/perlbrew
function refresh_gpga() {
if [ -f "${HOME}/.gpg-agent-info" ]; then
Expand Down
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ DIR="$(pwd)"
ln -sf "$DIR/vim-colors/molokaimod.vim" "$HOME/.vim/colors/molokaimod.vim"
ln -sf "$DIR/vim-autoload" "$HOME/.vim/autoload"
ln -sf "$DIR/etc/gpg-agent.conf" "$HOME/.gnupg/gpg-agent.conf"
ln -sf "$DIR/inputrc" "$HOME/.inputrc"
1 change: 1 addition & 0 deletions setup_bashrc.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
DIR="$(pwd)"
echo "[ -f $DIR/bashrc ] && . $DIR/bashrc" >> ~/.bashrc
echo "[ -f $DIR/bashrc ] && . $DIR/bashrc" >> ~/.bash_profile
25 changes: 25 additions & 0 deletions ssh-config
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ Host *.mars.sfsrv.net
StrictHostKeyChecking false
KbdInteractiveAuthentication false

Host 20.0.*.*
User appuser
ConnectTimeout 30
ProxyCommand ~/dotfiles/script/vpnnc.sh marsvpn %h %p
StrictHostKeyChecking false
KbdInteractiveAuthentication false

Host 10.125.*.*
User appuser
ConnectTimeout 30
ProxyCommand ~/dotfiles/script/vpnnc.sh saturnvpn %h %p
StrictHostKeyChecking false
KbdInteractiveAuthentication false



Host *.saturn.sfsrv.net
User appuser
ConnectTimeout 30
Expand All @@ -22,6 +38,15 @@ Host *.saturn.sfsrv.net
StrictHostKeyChecking false
KbdInteractiveAuthentication false

Host 54.164.21.74
User appuser
ConnectTimeout 30
#ProxyCommand docker exec -i saturnvpn nc -q0 %h %p 2>/dev/null
ProxyCommand ~/dotfiles/script/vpnnc.sh saturnvpn %h %p
StrictHostKeyChecking false
KbdInteractiveAuthentication false




Host *.sflow.us
Expand Down
10 changes: 5 additions & 5 deletions tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ set -g status-right '#[fg=colour245] %R %d %b #[fg=colour235,bg=colour252,bold]

set -g default-terminal "screen-256color"
setw -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
#bind-key -t vi-copy 'v' begin-selection
#bind-key -t vi-copy 'y' copy-selection
setw -g monitor-activity on

## Mouse stuff
Expand All @@ -37,7 +37,7 @@ setw -g monitor-activity on


# Decrease the timeout when moving between windows using arrow keys
set-option repeat-time 100
#set-option repeat-time 100


# force a reload of the config file
Expand All @@ -59,7 +59,7 @@ bind h split-window -h
bind v split-window -v
unbind C-p
bind C-p run " tmux show-buffer | xclip -selection clipboard -i >/dev/null"
bind-key -t vi-copy y copy-pipe 'xclip -selection clipboard >/dev/null'
#bind-key -t vi-copy y copy-pipe 'xclip -selection clipboard >/dev/null'



Expand Down Expand Up @@ -88,7 +88,7 @@ bind k next-window

unbind @
bind @ command-prompt -p "join pane to:" "join-pane -t '%%'"
if-shell "uname | grep -q Darwin" "set-option -g default-command \"reattach-to-user-namespace -l bash\""
#if-shell "uname | grep -q Darwin" "set-option -g default-command \"reattach-to-user-namespace -l bash\""


## Nested tmux
Expand Down

0 comments on commit 5df77d6

Please sign in to comment.