diff --git a/.tools/get_public_ip.sh b/.tools/get_public_ip.sh new file mode 100755 index 0000000..4d3ba92 --- /dev/null +++ b/.tools/get_public_ip.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +dig +short myip.opendns.com @resolver1.opendns.com; diff --git a/bash/.bashrc b/bash/.bashrc index 16474f1..b278152 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -18,11 +18,11 @@ export LESS='-C -M -I -j 5 -# 4' # User specific aliases and functions alias l.='ls -lh --color=auto' 2>/dev/null -alias l='ls -lh' -alias ll='ls -lh' -#set -o vi +alias l='ls -lh --color=auto' +alias ll='ls -lh --color=auto' alias p='ping' alias s='sudo' +alias dmesg='dmesg -H' alias ip='ip -c' alias fart='/usr/bin/sleep' @@ -33,9 +33,8 @@ export PATH=$GOPATH:$GOPATH/bin:$PATH export EDITOR=/usr/bin/vim [ -f ~/.fzf.bash ] && source ~/.fzf.bash +alias p='ping' -#vi readline -set -o vi #ctrl-x, ctrl-e to launch $EDITOR (vim) bind -m vi-insert '"\C-x\C-e": edit-and-execute-command' diff --git a/dirindex.html b/dirindex.html new file mode 100644 index 0000000..e34400c --- /dev/null +++ b/dirindex.html @@ -0,0 +1,33 @@ + + + + + + Directory Index: dots + + + +
+

(root) + / +dots

+

Directory Index

+
+ +
+Root | +Global | +Sorted +
+ +

Sub-directories:

+

+ + + + + + + diff --git a/index.html b/index.html new file mode 120000 index 0000000..0fc8e54 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +dirindex.html \ No newline at end of file diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 940568d..e905e7f 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,8 +1,8 @@ +set -g default-terminal screen-256color + #remove escape delay set -s escape-time 0 -set -g default-terminal "rxvt-unicode-256color" - #change C-b to Ca unbind C-b set-option -g prefix C-a @@ -37,14 +37,12 @@ if-shell '[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]' \ 'set -g mouse on' \ 'set -g mode-mouse on; set -g mouse-resize-pane on; set -g mouse-select-pane on; set -g mouse-select-window on' -set -g mouse on +#set -g mouse on #'set -g mouse on; set -g mouse-utf8 on' \ bind-key Tab last-window bind-key BTab previous-window -set -g default-terminal "screen-256color" - # Basic status bar colors set-option -g status-bg default set-option -g status-fg white diff --git a/vim/.vim/bundle/dirindex.html b/vim/.vim/bundle/dirindex.html new file mode 100644 index 0000000..e0d05d4 --- /dev/null +++ b/vim/.vim/bundle/dirindex.html @@ -0,0 +1,41 @@ + + + + + + Directory Index: dots/vim/.vim/bundle + + + +
+

(root) + / +dots + / +vim + / +.vim + / +bundle

+

Directory Index

+
+ +

+Root | +Global | +Sorted +
+ +

Sub-directories:

+

+ + + + + + + diff --git a/vim/.vim/bundle/index.html b/vim/.vim/bundle/index.html new file mode 120000 index 0000000..0fc8e54 --- /dev/null +++ b/vim/.vim/bundle/index.html @@ -0,0 +1 @@ +dirindex.html \ No newline at end of file diff --git a/vim/.vim/bundle/targets.vim b/vim/.vim/bundle/targets.vim index c173218..c3042dc 160000 --- a/vim/.vim/bundle/targets.vim +++ b/vim/.vim/bundle/targets.vim @@ -1 +1 @@ -Subproject commit c1732189c9ec29cc3320094304019ffcafadafc4 +Subproject commit c3042dc18acc0dfcee479310d3efc6aefe92db75 diff --git a/vim/.vim/bundle/vim-airline b/vim/.vim/bundle/vim-airline index e9a7a12..396cc92 160000 --- a/vim/.vim/bundle/vim-airline +++ b/vim/.vim/bundle/vim-airline @@ -1 +1 @@ -Subproject commit e9a7a12d9e1ace3dd0778c375c1b77d2879ba137 +Subproject commit 396cc9226171f8dbf1069800a0ae56700bbf3913 diff --git a/vim/.vim/bundle/vim-airline-themes b/vim/.vim/bundle/vim-airline-themes index 08c76e4..26f67b9 160000 --- a/vim/.vim/bundle/vim-airline-themes +++ b/vim/.vim/bundle/vim-airline-themes @@ -1 +1 @@ -Subproject commit 08c76e4cd0cdaa12c476ed03b920912173e31339 +Subproject commit 26f67b926553555e505ac60e992c97ab5fdfc83f diff --git a/vim/.vim/dirindex.html b/vim/.vim/dirindex.html new file mode 100644 index 0000000..aae61be --- /dev/null +++ b/vim/.vim/dirindex.html @@ -0,0 +1,37 @@ + + + + + + Directory Index: dots/vim/.vim + + + +
+

(root) + / +dots + / +vim + / +.vim

+

Directory Index

+
+ +

+Root | +Global | +Sorted +
+ +

Sub-directories:

+

+ + + + + + + diff --git a/vim/.vim/index.html b/vim/.vim/index.html new file mode 120000 index 0000000..0fc8e54 --- /dev/null +++ b/vim/.vim/index.html @@ -0,0 +1 @@ +dirindex.html \ No newline at end of file diff --git a/vim/.vimrc b/vim/.vimrc index a8e7047..b3a0059 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -60,7 +60,7 @@ nnoremap o " use jk to escape insert mode - using easyescape plugin let g:easyescape_chars = { "j": 1, "k": 1 } -let g:easyescape_timeout = 100 +"let g:easyescape_timeout = 100 cnoremap jk cnoremap kj diff --git a/vim/dirindex.html b/vim/dirindex.html new file mode 100644 index 0000000..819e04b --- /dev/null +++ b/vim/dirindex.html @@ -0,0 +1,35 @@ + + + + + + Directory Index: dots/vim + + + +
+

(root) + / +dots + / +vim

+

Directory Index

+
+ +

+Root | +Global | +Sorted +
+ +

Sub-directories:

+

+ + + + + + + diff --git a/vim/index.html b/vim/index.html new file mode 120000 index 0000000..0fc8e54 --- /dev/null +++ b/vim/index.html @@ -0,0 +1 @@ +dirindex.html \ No newline at end of file