summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bash_prompt50
-rw-r--r--.bashrc14
-rw-r--r--.config/nvim/init.vim11
-rw-r--r--.gitconfig2
-rwxr-xr-x.local/bin/chrome-launcher259
-rwxr-xr-x.local/bin/fdevshell9
-rw-r--r--.tmux.conf1
-rw-r--r--.tmux/tmuxline.conf2
-rw-r--r--.tmuxinator/gdirclust.yml57
-rw-r--r--.tmuxinator/nixos.yml17
-rw-r--r--.tmuxinator/osregistry.yml53
-rw-r--r--.tmuxinator/rh-mail-filter.yml54
-rw-r--r--.tmuxinator/sapdellab.yml47
-rw-r--r--.tmuxinator/sapdellabvpn.yml52
-rw-r--r--.tmuxinator/sdhonocp.yml46
-rw-r--r--.zshrc2
16 files changed, 392 insertions, 284 deletions
diff --git a/.bash_prompt b/.bash_prompt
index 3b12df6..6e08ddd 100644
--- a/.bash_prompt
+++ b/.bash_prompt
@@ -50,12 +50,44 @@ else
PROMPT_COMMAND=__prompt_command_no_color
fi
+unset __prompt_show_shell_level
+function __prompt_show_shell_level() {
+ printf '>%0.s' `seq $SHLVL`
+}
+
+unset __timer_start
+function __timer_start {
+ __START_TIME="${__START_TIME:-$SECONDS}"
+}
+
+unset __timer_stop
+function __timer_stop {
+ [[ -z "${__START_TIME:-}" ]] && return 0
+ local secs="$(($SECONDS - $__START_TIME))"
+ unset __START_TIME
+ if [[ "${secs:-0}" -le 0 ]]; then
+ __ELAPSED_TIME="0s"
+ return 0
+ fi
+ local elapsed=""
+ local hours="$(($secs / 3600))"
+ [[ "${hours:-0}" -gt 0 ]] && elapsed+="${hours}h"
+ local minutes="$((($secs / 60) % 60))"
+ [[ "${minutes:-0}" -gt 0 ]] && elapsed+="${minutes}m"
+ secs="$(($secs % 60))"
+ [[ "${secs:-0}" -gt 0 ]] && elapsed+="${secs}s"
+ __ELAPSED_TIME="${elapsed:-}"
+}
+
# Run 256colors.pl script in 256 color xterm to check out possible colors. To
# get the escape sequence run: `echo $(tput setaf ${color_index}) | hexdump -C`.
+unset __make_prompt_string
function __make_prompt_string() {
local exit_code="$1"
local context
+ local elapsed="${__ELAPSED_TIME:-}"
+ unset __ELAPSED_TIME
if [[ "${TERM256COLORS:-0}" == 1 ]]; then
local c_mark='\e[38;5;163m'
local c_local='\e[38;5;220m'
@@ -91,6 +123,7 @@ function __make_prompt_string() {
# \[ \] can be safely omitted until new line character because cursor won't
# be placed here
+ [[ -n "${elapsed:-}" ]] && PS1+="${c_mark}(${c_info}${elapsed}${c_mark}) ${c_info}"
PS1+="${exit_code:-}${context:-}${c_mark}[${c_info}"'`date +%H:%M:%S`'"${c_mark}] "
PS1+="${c_local}\u${c_at}@${c_local}\h: ${c_path}\W${c_info}"
PS1+='`declare -F __git_ps1 &>/dev/null && __git_ps1 " (%s)"` '
@@ -100,13 +133,12 @@ function __make_prompt_string() {
PS1+="\n\[${c_mark}\]\$\[${c_none}\] "
}
-function __prompt_show_shell_level() {
- printf '>%0.s' `seq $SHLVL`
-}
-
+unset __make_prompt_string_no_color
function __make_prompt_string_no_color() {
local exit_code="$1"
local context=''
+ local elapsed="${__ELAPSED_TIME:-}"
+ unset __ELAPSED_TIME
if [[ -n "${exit_code}" ]]; then
exit_code="${exit_code}}"
fi
@@ -115,13 +147,16 @@ function __make_prompt_string_no_color() {
fi
PS1=""
[[ "${HISTFILE}" == /dev/null ]] && PS1="NOHIST "
+ [[ -n "${elapsed:-}" ]] && PS1+="(${elapsed}) "
PS1+="${exit_code:-}${context:-}"'[`date +%H:%M:%S`] \u@\h: \W'
PS1+='$(declare -F __git_ps1 &>/dev/null && __git_ps1 " (%s)") '
PS1+="${c_mark}"'$(__prompt_show_shell_level) \n\$ '
}
+unset __prompt_command
function __prompt_command() {
local code="$?"
+ __timer_stop
history -a
__make_prompt_string "${code}"
# set terminal's title
@@ -134,13 +169,18 @@ function __prompt_command() {
if [[ "${host}" =~ ^([^.]+\.).+(\.[^.]+)?$ ]]; then
host="${BASH_REMATCH[1]}"$'\u2026'"${BASH_REMATCH[2]}"
fi
- echo -ne "\033]0;${USER}@${host}: ${pth}\007"
+ printf "\33]0;%s@%s: %s\7" "${USER}" "${host}" "${pth}"
+ unset __START_TIME
}
+unset __prompt_command_no_color
function __prompt_command_no_color() {
local code="$?"
+ __timer_stop
history -a
__make_prompt_string_no_color "${code}"
+ unset __START_TIME
}
unset color_prompt
+trap '__timer_start' DEBUG
diff --git a/.bashrc b/.bashrc
index 75a05de..63ea36e 100644
--- a/.bashrc
+++ b/.bashrc
@@ -8,7 +8,6 @@
export ANDROID_HOME="$HOME/Android/Sdk"
_BASHRC_SOURCED=1
export PYTHONSTARTUP="$HOME/.pythonrc"
-export PYTHONPATH="${PYTHONPATH:-$HOME/wsp/python_sandbox}"
export PYTHONDOCS="/usr/share/doc/python2.7-doc/html/"
export RUBYOPT=rubygems
export BROWSER=chrome-launcher
@@ -31,14 +30,23 @@ fi
# reset the shell level if the parent has a different controlling terminal
[[ "${SHLVL:-1}" -gt 1 && "$(ps -o tty= -p$$)" != "$(ps -o tty= -p${PPID:-1})" ]] && SHLVL=1
-[[ -d "$PYTHONPATH" ]] && export PATH="$PATH:$PYTHONPATH"
-
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
export HISTCONTROL=erasedups:ignorespace
# single press of escape means cancel
export KEYBOARD_KEY_TIMEOUT_US=1000
+# use gpg-agent instead of ssh agent to store ssh passwords
+if `which gpg-agent` >/dev/null 2>&1 && gpg-agent /bye >/dev/null 2>&1; then
+ unset SSH_AGENT_PID
+ # The test involving the gnupg_SSH_AUTH_SOCK_by variable is for the case where the agent is
+ # started as gpg-agent --daemon /bin/sh, in which case the shell inherits the SSH_AUTH_SOCK
+ # variable from the parent, gpg-agent
+ if [[ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]]; then
+ export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
+ fi
+fi
+
# append to the history file, don't overwrite it
#shopt -s histappend # already in /etc/bashrc
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index d2e3a1b..e6b0dbf 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -22,6 +22,7 @@ Plug 'chrisbra/unicode.vim' " A Vim plugin that provides a completion fu
Plug 'vim-airline/vim-airline' " lean & mean status/tabline for vim that's light as air
Plug 'vim-airline/vim-airline-themes' " A collection of themes for vim-airline
Plug 'chase/vim-ansible-yaml' " Add additional support for Ansible in VIM
+Plug 'Chiel92/vim-autoformat' " Provide easy code formatting in Vim by integrating existing code formatters.
Plug 'chrisbra/SudoEdit.vim' " edit Files using sudo or su or any other tool
Plug 'edkolev/tmuxline.vim' " simple tmux statusline generator with support for powerline
Plug 'chrisbra/unicode.vim' " A Vim plugin that provides a completion function for Unicode glyphs
@@ -37,6 +38,7 @@ else
Plug 'junegunn/fzf', { 'do': './install --all' }
endif
Plug 'junegunn/fzf.vim' " fzf loves vim
+Plug 'liuchengxu/vista.vim' " Viewer & Finder for LSP symbols and tags in Vim
Plug 'junegunn/vim-plug'
Plug 'mhinz/vim-grepper' " helps you win at grep
" dependencies: ag
@@ -50,6 +52,9 @@ Plug 'junegunn/vim-easy-align' " a Vim alignment plugin
Plug 'vim-utils/vim-husk' " mappings that boost vim's command line
Plug 'w0rp/ale' " w0rp/ale
+" syntax *****************************************************************************************
+Plug 'LnL7/vim-nix' " Vim configuration files for Nix
+
" color schemes **********************************************************************************
Plug 'romainl/Apprentice', " a dark, low-contrast, Vim colorscheme
\ { 'branch': 'fancylines-and-neovim' }
@@ -61,6 +66,7 @@ Plug 'altercation/solarized' " precision color scheme for multiple applic
" vim, etc.) with both dark/light modes
Plug 'endel/vim-github-colorscheme' " A vim colorscheme based on Github's syntax highlighting.
Plug 'rakr/vim-one'
+Plug 'hashivim/vim-terraform' " basic vim/terraform integration
call plug#end()
" visual settings ********************************************************************************
@@ -259,6 +265,11 @@ nnoremap <Leader>G* :Grepper -cword -noprompt -switch -open<cr>
nmap ga <Plug>(EasyAlign)
xmap ga <Plug>(EasyAlign)
+" plugin tuning - vista ***************************************************************************
+let g:vista#renderer#enable_icon = 1
+let g:vista_fzf_preview = ['right:50%']
+nmap <F8> :Vista!!<CR>
+
" plugin tuning - vim-go *************************************************************************
augroup go
autocmd!
diff --git a/.gitconfig b/.gitconfig
index 374d7a5..3896a72 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -13,7 +13,7 @@
[merge]
tool = fugitive
[mergetool "fugitive"]
- cmd = nvim -f -c \"Gdiff\" \"$MERGED\"
+ cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\"
[push]
default = simple
[pull]
diff --git a/.local/bin/chrome-launcher b/.local/bin/chrome-launcher
deleted file mode 100755
index 502ea49..0000000
--- a/.local/bin/chrome-launcher
+++ /dev/null
@@ -1,259 +0,0 @@
-#!/usr/bin/env bash
-
-set -euo pipefail
-IFS=$'\n\t'
-
-readonly default_browser="chromium"
-readonly default_wm_class="Chromium"
-readonly official_browser="google-chrome"
-readonly official_wm_class="Google-chrome"
-
-readonly default_profile_name="Default"
-readonly default_user_data_dir="${HOME}/.config/chromium"
-readonly official_user_data_dir="${HOME}/.config/google-chrome"
-readonly rh_profile_name="RedHat"
-readonly nobody_profile_name="Nobody"
-
-declare -A wm_class_suffixes=(
- ["${default_profile_name}"]=""
- ["${rh_profile_name}"]=".${rh_profile_name,,}"
- ["${nobody_profile_name}"]=".${nobody_profile_name,,}"
-)
-
-readonly rh_hub_namespaces=(
- "openshift" "docker" "projectatomic" "containers"
- "miminar" "legionus" "mfojtik" "mtrmac" "deads" "smarterclayton"
- "RHsyseng"
-)
-readonly rh_hub_repos=(
- "ose" "origin" "online" "docker" "distribution"
-)
-
-function join_regexps() {
- local joined
- printf -v joined "%s|" "$@"
- echo "${joined%|}"
-}
-
-
-readonly re_optschema='(https?://)?'
-readonly re_anysubd="${re_optschema}([^/@]+\.)*"
-readonly re_mailto='(mailto://)?[^/@]+@'
-readonly rh_regexps=(
- "${re_anysubd}fedora(people|hosted|project)\.org/?"
- "${re_anysubd}getfedora\.org/?"
- "${re_anysubd}fpaste\.org/?"
- "${re_anysubd}redhat\.com(:\d+)?/?"
- "${re_anysubd}github\.com/($(join_regexps "${rh_hub_namespaces[@]}"))/?"
- "${re_anysubd}github\.com/[^/]+/($(join_regexps "${rh_hub_repos[@]}"))/?"
- "${re_anysubd}google\.com/a/redhat.com/"
- "${re_anysubd}openshift.(com|org)/?"
- "${re_anysubd}google\.com/[^/]+/[ub]/1/"
- "${re_anysubd}bluejeans.com/?"
- "${re_anysubd}trello.com/"
- "${re_anysubd}amazonaws.com(:\d+)?/?"
- "${re_anysubd}openshift-gce-devel.appspot.com/?"
-
- "${re_mailto}redhat.com"
- "${re_mailto}fedora(people|hosted|project)\.org"
- "${re_mailto}sap.com"
-)
-readonly incognito_regexps=(
- "${re_anysubd}uloz.to/?"
-)
-
-browser="${default_browser}"
-
-readonly USAGE="$(basename ${BASH_SOURCE[0]}) [OPTIONS] [<url>|<profile-name>] [BROWSER OPTIONS]
-
-The script launches the Google chrome binary with a given url. It determines
-which profile to use. If a window with this profile already runs, a new tab
-will open. Otherwise a new window will be created.
-
-Options:
-
- -h Print this help and exit.
- -H Print browser help and exit.
- -p Print the arguments instead of running the browser.
- -i Force incognito mode.
- -n Force new window to be created.
- -o Run official (${official_browser}) instead of ${default_browser}
- binary.
-
-All options given after the <url> will be passed to the browser.
-"
-
-VERBOSE=0
-
-function profile_name_matching_url() {
- local url="$1"
- local rh_regexp="$(join_regexps "${rh_regexps[@]}")"
- local incognito_regexp="$(join_regexps "${incognito_regexps[@]}")"
- if [[ "${url}" =~ ^(${incognito_regexp}).*$ ]]; then
- echo "${nobody_profile_name}"
- elif [[ "${url}" =~ ^(${rh_regexp}).*$ ]]; then
- echo "${rh_profile_name}"
- else
- echo "${default_profile_name}"
- fi
-}
-
-function gen_wm_class() {
- local profile_name="$1"
- local suffix="${wm_class_suffixes[${profile_name}]:-}"
- if [[ -z "${suffix:-}" ]]; then
- return 0 # do not override wm_class
- fi
- case "${browser}" in
- "${default_browser}")
- echo "${default_wm_class}${suffix}"
- ;;
- *)
- echo "${official_wm_class}${suffix}"
- ;;
- esac
-}
-
-function get_user_data_dir() {
- local profile_name="$1"
- local base
- case "${browser}" in
- "${default_browser}")
- base="${default_user_data_dir}"
- ;;
- *)
- base="${official_user_data_dir}"
- ;;
- esac
- case "${profile_name}" in
- "${default_profile_name}")
- echo "${base}"
- ;;
- *)
- echo "${base}-${profile_name,,}"
- ;;
- esac
-}
-
-function make_identity_arguments() {
- local force_incognito="$1"
- local url_or_profile="$2"
- local profile_name url=""
- local args=()
-
- if [[ "${force_incognito}" = '1' ]]; then
- profile_name="${nobody_profile_name}"
- args+=( "--incognito" )
- args+=( "--bwsi" )
- else
- case "${url_or_profile}" in
- ("${rh_profile_name}")
- args+=( "--auth-server-whitelist=*.redhat.com" )
- ;&
- ("${default_profile_name}"|"${nobody_profile_name}")
- profile_name="${url_or_profile}"
- ;;
- (?*)
- profile_name="$(profile_name_matching_url ${url_or_profile})"
- url="${url_or_profile}"
- ;;
- (*)
- profile_name="${default_profile_name}"
- ;;
- esac
- fi
-
- args+=( "--user-data-dir=$(get_user_data_dir "${profile_name}")" )
-
- local wm_class="$(gen_wm_class "${profile_name}")"
- if [[ -n "${wm_class}" ]]; then
- args+=( "--class=${wm_class}" )
- fi
-
- echo "${url:-}"
- echo "${args[@]}"
-}
-
-function run_browser() {
- local dry_run="$1"
- local force_new_window="$2"
- shift 2
- declare -a args=()
- if [[ "${force_new_window}" == 1 ]]; then
- args+=( "--new-window" )
- fi
- if [[ "${VERBOSE}" == 1 || "${dry_run:-0}" =~ ^(1|yes|true)$ ]]; then
- echo "${browser}" "${args[@]}" "$@"
- fi
- if [[ "${dry_run:-0}" =~ ^(0|no|false)$ ]]; then
- exec "${browser}" "${args[@]}" "$@"
- fi
-}
-
-function show_browser_help() {
- exec "${browser}" --help
-}
-
-dry_run=0
-force_incognito=0
-force_new_window=0
-
-while getopts "onvihHp" opt; do
- case "${opt}" in
- h)
- printf "${USAGE}"
- exit 0
- ;;
- H)
- show_browser_help
- exit 0
- ;;
- p)
- dry_run=1
- ;;
- i)
- force_incognito=1
- ;;
- n)
- force_new_window=1
- ;;
- v)
- VERBOSE=1
- ;;
- o)
- for binary in "${official_browser}"{,-stable,-unstable}; do
- if which "${binary}" >/dev/null 2>&1; then
- browser="${binary}"
- break
- fi
- done
- if [[ "${browser}" == "${default_browser}" ]]; then
- printf 'no official chrome binary found\n' >&2
- exit 1
- fi
- ;;
- *)
- printf 'unrecognized option -%s, see usage:\n%s' "${opt}" "${USAGE}"
- exit 1
- ;;
- esac
-done
-
-shift $((OPTIND - 1))
-
-url_or_profile="${1:-}"
-if [[ "${u_or_profilerl:-}" =~ ^- ]]; then
- url_or_profile=""
-elif [[ -n "${url_or_profile:-}" ]]; then
- shift 1
-fi
-
-if [[ -z "${url_or_profile:-}" ]]; then
- force_new_window=1
-fi
-
-readarray -t parsed \
- <<<"$(make_identity_arguments "${force_incognito}" "${url_or_profile:-}")"
-url="${parsed[0]}"
-IFS=' ' read -r -a args <<<"${parsed[1]:-}"
-run_browser "${dry_run}" "${force_new_window}" "${args[@]}" "$@" ${url:-}
diff --git a/.local/bin/fdevshell b/.local/bin/fdevshell
index d7d45df..a5dbc2d 100755
--- a/.local/bin/fdevshell
+++ b/.local/bin/fdevshell
@@ -3,24 +3,25 @@
set -euo pipefail
IFS=$'\n\t'
-readonly TAG="${TAG:-f27}"
+readonly TAG="${TAG:-f30}"
readonly mprw=(
.certs/fedora
)
readonly mpro=(
.gnupg
+ .fedora.upn
)
declare -A mpmaprw=(
[.bash_history_osdevshell]=.bash_history
[wsp/fedora-scm]=fedora-scm
[wsp/rhel-scm]=rhel-scm
+ #[/tmp/krb5cc_1000]=/tmp/krb5cc_1000
# /var/lib/sss/pipes/:/var/lib/sss/pipes/
)
declare -A mpmapro=(
- [.ssh/id_rsa_nopw]=.ssh/id_rsa
- [.ssh/id_rsa_nopw.pub]=.ssh/id_rsa.pub
- [/tmp/krb5cc_1000]=/tmp/krb5cc_1000
+ [.ssh/id_rsa_rh_miminar]=.ssh/id_rsa
+ [.ssh/id_rsa_rh_miminar.pub]=.ssh/id_rsa.pub
)
args=()
diff --git a/.tmux.conf b/.tmux.conf
index 5b6d66f..fd32866 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -67,6 +67,7 @@ set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'NHDaly/tmux-scroll-copy-mode'
+set -g @plugin 'tmux-plugins/tmux-logging'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
diff --git a/.tmux/tmuxline.conf b/.tmux/tmuxline.conf
index 848f4b2..5bdf874 100644
--- a/.tmux/tmuxline.conf
+++ b/.tmux/tmuxline.conf
@@ -1,5 +1,5 @@
# This tmux statusbar config was created by tmuxline.vim
-# on Wed, 06 Jun 2018
+# on Mon, 21 Jan 2019
set -g status-justify "left"
set -g status "on"
diff --git a/.tmuxinator/gdirclust.yml b/.tmuxinator/gdirclust.yml
new file mode 100644
index 0000000..36bdf6e
--- /dev/null
+++ b/.tmuxinator/gdirclust.yml
@@ -0,0 +1,57 @@
+# /home/miminar/.tmuxinator/gdirclust.yml
+
+name: gdirclust
+root: ~/wsp/rh/sdhonocp.com
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Project hooks
+# Runs on project start, always
+# on_project_start: command
+# Run on project start, the first time
+# on_project_first_start: command
+# Run on project start, after the first time
+# on_project_restart: command
+# Run on project exit ( detaching from tmux session )
+# on_project_exit: command
+# Run on project stop
+# on_project_stop: command
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# pre_window: rbenv shell 2.0.0-p247
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t gdirclust
+
+windows:
+ - ssh:
+ layout: tiled
+ # Synchronize all panes of this window, can be enabled before or after the pane commands run.
+ # 'before' represents legacy functionality and will be deprecated in a future release, in favour of 'after'
+ synchronize: after
+ panes:
+ - ssh gdirjump-master-0
+ - ssh gdirjump-master-1
+ - ssh gdirjump-master-2
+ - ssh gdirjump-node-0
+ - ssh gdirjump-node-1
+ - ssh gdirjump-node-2
diff --git a/.tmuxinator/nixos.yml b/.tmuxinator/nixos.yml
index f8101a2..c8d5a5d 100644
--- a/.tmuxinator/nixos.yml
+++ b/.tmuxinator/nixos.yml
@@ -1,7 +1,7 @@
-# ~/.tmuxinator/nixos.yml
+# /home/miminar/.tmuxinator/nixos.yml
name: nixos
-root: ~/wsp/nixos/
+root: ~/wsp/nixos
# Optional tmux socket
# socket_name: foo
@@ -43,12 +43,7 @@ root: ~/wsp/nixos/
# post: tmux -CC attach -t nixos
windows:
- - mounter:
- layout: main-vertical
- # Synchronize all panes of this window, can be enabled before or after the pane commands run.
- # 'before' represents legacy functionality and will be deprecated in a future release, in favour of 'after'
- # synchronize: after
- panes:
- - cd nixosmounter; vim configuration.nix
- - pkgs: cd nixpkgs; vim ./
- - pkgs-shell: cd nixpkgs
+ - editor: vim $(hostname)
+ - shell:
+ - pkgs:
+ cd nixpkgs
diff --git a/.tmuxinator/osregistry.yml b/.tmuxinator/osregistry.yml
new file mode 100644
index 0000000..314c374
--- /dev/null
+++ b/.tmuxinator/osregistry.yml
@@ -0,0 +1,53 @@
+# ~/.tmuxinator/osregistry.yml
+
+name: osregistry
+root: ~/wsp/go/osregistry/src/github.com/openshift/image-registry
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Project hooks
+# Runs on project start, always
+# on_project_start: command
+# Run on project start, the first time
+# on_project_first_start: command
+# Run on project start, after the first time
+# on_project_restart: command
+# Run on project exit ( detaching from tmux session )
+# on_project_exit: command
+# Run on project stop
+# on_project_stop: command
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# pre_window: rbenv shell 2.0.0-p247
+pre_window: source ~/wsp/go/osregistry/.bashrc
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t osregistry
+
+windows:
+ - editor:
+ layout: main-vertical
+ panes:
+ - vim
+ - build:
+ - test:
+ - git:
diff --git a/.tmuxinator/rh-mail-filter.yml b/.tmuxinator/rh-mail-filter.yml
new file mode 100644
index 0000000..ef695f9
--- /dev/null
+++ b/.tmuxinator/rh-mail-filter.yml
@@ -0,0 +1,54 @@
+# ~/.tmuxinator/rh-mail-filter.yml
+
+name: rh-mail-filter
+root: ~/wsp/my/rh-mail-filter
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Project hooks
+# Runs on project start, always
+# on_project_start: command
+# Run on project start, the first time
+# on_project_first_start: command
+# Run on project start, after the first time
+# on_project_restart: command
+# Run on project exit ( detaching from tmux session )
+# on_project_exit: command
+# Run on project stop
+# on_project_stop: command
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# TODO: remove
+pre_window: export NODE_PATH=/nix/store/blz805614l5dlas07v5msp2hdy2kh8sa-node-eslint-config-google-0.9.1/lib/node_modules
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t rh-mail-filter
+
+windows:
+ - editor:
+ layout: main-vertical
+ # Synchronize all panes of this window, can be enabled before or after the pane commands run.
+ # 'before' represents legacy functionality and will be deprecated in a future release, in favour of 'after'
+ # synchronize: after
+ panes:
+ - vim main.js
+ - git:
diff --git a/.tmuxinator/sapdellab.yml b/.tmuxinator/sapdellab.yml
new file mode 100644
index 0000000..a9ebad8
--- /dev/null
+++ b/.tmuxinator/sapdellab.yml
@@ -0,0 +1,47 @@
+# ~/.tmuxinator/nixos.yml
+
+name: sapdellab
+root: ~/wsp/rh/sapdellab
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Project hooks
+# Runs on project start, always
+# on_project_start: command
+# Run on project start, the first time
+# on_project_first_start: command
+# Run on project start, after the first time
+# on_project_restart: command
+# Run on project exit ( detaching from tmux session )
+# on_project_exit: command
+# Run on project stop
+# on_project_stop: command
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# pre_window: rbenv shell 2.0.0-p247
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t nixos
+
+windows:
+ - editor:
+ - shell:
diff --git a/.tmuxinator/sapdellabvpn.yml b/.tmuxinator/sapdellabvpn.yml
new file mode 100644
index 0000000..336112b
--- /dev/null
+++ b/.tmuxinator/sapdellabvpn.yml
@@ -0,0 +1,52 @@
+# /home/miminar/.tmuxinator/sapdellabvpn.yml
+
+name: sapdellabvpn
+root: ~/wsp/rh/sapdellab
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Project hooks
+# Runs on project start, always
+# on_project_start: command
+# Run on project start, the first time
+# on_project_first_start: command
+# Run on project start, after the first time
+# on_project_restart: command
+# Run on project exit ( detaching from tmux session )
+# on_project_exit: command
+# Run on project stop
+# on_project_stop: command
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# pre_window: rbenv shell 2.0.0-p247
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t sapdellabvpn
+
+windows:
+ - vpn:
+ panes:
+ - cd ~/wsp/dockerfiles/netextender && env PASSWORD=$(cat .pw) ./run.sh -d
+ - ssh dellab-ansibletower
+ - tower: ssh tower.gscoe.intern
+ - satellite: ssh satellite.gscoe.intern
+ - devel: vim ./
diff --git a/.tmuxinator/sdhonocp.yml b/.tmuxinator/sdhonocp.yml
new file mode 100644
index 0000000..8fe309e
--- /dev/null
+++ b/.tmuxinator/sdhonocp.yml
@@ -0,0 +1,46 @@
+# /home/miminar/.tmuxinator/sdhonocp.yml
+
+name: sdhonocp
+root: ~/wsp/rh/sdhonocp
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Project hooks
+# Runs on project start, always
+# on_project_start: command
+# Run on project start, the first time
+# on_project_first_start: command
+# Run on project start, after the first time
+# on_project_restart: command
+# Run on project exit ( detaching from tmux session )
+# on_project_exit: command
+# Run on project stop
+# on_project_stop: command
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+pre_window: nix-shell
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t sdhonocp
+
+windows:
+ - bash:
diff --git a/.zshrc b/.zshrc
index 9935bec..de98eba 100644
--- a/.zshrc
+++ b/.zshrc
@@ -32,3 +32,5 @@ setopt COMPLETE_IN_WORD
# autoload -U colors
#colors
+
+[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh