mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 13:22:25 +00:00
Include ssh_config; rename Host susanoo
This commit is contained in:
parent
e5ca559150
commit
33270abf66
15
config.yaml
15
config.yaml
|
@ -138,6 +138,10 @@ dotfiles:
|
|||
f_secretfiles:
|
||||
dst: ~/.bin/secretfiles
|
||||
src: bin/secretfiles
|
||||
f_config:
|
||||
src: ssh/config
|
||||
dst: ~/.ssh/config
|
||||
chmod: '600'
|
||||
profiles:
|
||||
AINCRAD:
|
||||
dotfiles:
|
||||
|
@ -162,6 +166,7 @@ profiles:
|
|||
- f_wsladdhypervroute
|
||||
- f_wslenablehypervforwarding
|
||||
- f_wslshowhypervforwarding
|
||||
- f_config
|
||||
AINCRAD-wsl:
|
||||
dotfiles:
|
||||
- d_fonts
|
||||
|
@ -185,6 +190,7 @@ profiles:
|
|||
- f_wsladdhypervroute
|
||||
- f_wslenablehypervforwarding
|
||||
- f_wslshowhypervforwarding
|
||||
- f_config
|
||||
sbx0nucmac01.home.pphg.tech:
|
||||
dotfiles:
|
||||
- f_vimrc
|
||||
|
@ -200,7 +206,8 @@ profiles:
|
|||
- f_c3check
|
||||
- f_zprofile
|
||||
- f_commonfunc
|
||||
susanoo.int.r3w.de:
|
||||
- f_config
|
||||
susanoo.local:
|
||||
dotfiles:
|
||||
- f_vimrc
|
||||
- f_zshrc
|
||||
|
@ -218,6 +225,7 @@ profiles:
|
|||
- f_rmquarantine
|
||||
- f_commonfunc
|
||||
- f_secretfiles
|
||||
- f_config
|
||||
yoetunheimr:
|
||||
dotfiles:
|
||||
- d_bspwm
|
||||
|
@ -248,6 +256,7 @@ profiles:
|
|||
- f_wsladdhypervroute
|
||||
- f_wslenablehypervforwarding
|
||||
- f_wslshowhypervforwarding
|
||||
- f_config
|
||||
YOETUNHEIMR-wsl:
|
||||
dotfiles:
|
||||
- d_fonts
|
||||
|
@ -271,6 +280,7 @@ profiles:
|
|||
- f_wsladdhypervroute
|
||||
- f_wslenablehypervforwarding
|
||||
- f_wslshowhypervforwarding
|
||||
- f_config
|
||||
ymir:
|
||||
dotfiles:
|
||||
- f_zshrc
|
||||
|
@ -294,6 +304,7 @@ profiles:
|
|||
- f_commonfunc
|
||||
- f_gpgagent
|
||||
- f_secretfiles
|
||||
- f_config
|
||||
workspace:
|
||||
dotfiles:
|
||||
- d_fonts
|
||||
|
@ -305,6 +316,7 @@ profiles:
|
|||
- d_colors
|
||||
- f_zprofile
|
||||
- f_commonfunc
|
||||
- f_config
|
||||
WVDEWOBMC001307:
|
||||
dotfiles:
|
||||
- f_vimrc
|
||||
|
@ -325,3 +337,4 @@ profiles:
|
|||
- f_rmquarantine
|
||||
- f_commonfunc
|
||||
- f_secretfiles
|
||||
- f_config
|
||||
|
|
|
@ -124,7 +124,7 @@ EOF
|
|||
fi
|
||||
}
|
||||
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.local' @@%}
|
||||
#######################################
|
||||
# Shows a netstat -tulpn styled output on mac.
|
||||
# Globals:
|
||||
|
|
12
dotfiles/ssh/config
Normal file
12
dotfiles/ssh/config
Normal file
|
@ -0,0 +1,12 @@
|
|||
Include /Users/phg/.colima/ssh_config
|
||||
|
||||
#
|
||||
# {{@@ header() @@}}
|
||||
#
|
||||
|
||||
Include config.d/*
|
||||
Include config.d/*/*
|
||||
|
||||
{%@@ if profile == 'susanoo.local' or profile == 'WVDEWOBMC001307' @@%}Host *
|
||||
IdentityAgent "~/Library/Group Containers/group.strongbox.mac.mcguill/agent.sock"
|
||||
{%@@ endif @@%}
|
|
@ -9,7 +9,7 @@ export VISUAL
|
|||
EDITOR='vim'
|
||||
export EDITOR
|
||||
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.local' @@%}
|
||||
[[ $(command -v /opt/homebrew/bin/brew) ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
|
||||
# Added by Toolbox App
|
||||
|
|
|
@ -17,7 +17,7 @@ export ANSIBLE_NOCOWS=1
|
|||
# Include ~/.local/bin to PATH
|
||||
[[ -d "{{@@ env['HOME'] @@}}/.local/bin" ]] && export PATH="{{@@ env['HOME'] @@}}/.local/bin:${PATH}"
|
||||
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}# Include /opt/homebrew/opt/gnu-getopt/bin to PATH
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.local' @@%}# Include /opt/homebrew/opt/gnu-getopt/bin to PATH
|
||||
[[ -d "/opt/homebrew/opt/gnu-getopt/bin" ]] && export PATH="/opt/homebrew/opt/gnu-getopt/bin:${PATH}"
|
||||
|
||||
{%@@ endif @@%}# Include $(go env GOPATH) to PATH
|
||||
|
@ -49,7 +49,7 @@ export GPG_TTY=$(tty)
|
|||
# X410 (Windows X11 Server)
|
||||
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
|
||||
{%@@ endif @@%}
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.local' @@%}
|
||||
export HOMEBREW_CASK_OPTS="--appdir=~/Applications"
|
||||
|
||||
{%@@ endif @@%}
|
||||
|
|
|
@ -112,7 +112,7 @@ plugins=(
|
|||
#zsh-completions (https://github.com/zsh-users/zsh-completions/issues/603)
|
||||
zsh-navigation-tools
|
||||
zsh-ssh
|
||||
{%@@ if profile == 'ymir' or profile == 'susanoo.int.r3w.de' @@%} # Mac specifics
|
||||
{%@@ if profile == 'ymir' or profile == 'susanoo.local' @@%} # Mac specifics
|
||||
brew
|
||||
iterm2
|
||||
macos
|
||||
|
@ -123,7 +123,7 @@ plugins=(
|
|||
|
||||
autoload -U compinit && compinit
|
||||
|
||||
{%@@ if profile == 'ymir' or profile == 'susanoo.int.r3w.de' @@%}
|
||||
{%@@ if profile == 'ymir' or profile == 'susanoo.local' @@%}
|
||||
# Source fzf-tab-completions
|
||||
# source {{@@ env['HOME'] @@}}/.oh-my-zsh/custom/plugins/fzf-tab-completion/zsh/fzf-zsh-completion.sh
|
||||
# zstyle ':completion:*' fzf-search-display true
|
||||
|
@ -190,7 +190,7 @@ fi
|
|||
# Include $(go env GOPATH) to PATH
|
||||
[[ $(command -v go) ]] && [[ -d "$(go env GOPATH)/bin" ]] && export PATH="$(go env GOPATH)/bin:${PATH}"
|
||||
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
|
||||
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.local' @@%}
|
||||
# Decide which homebrew installation (x64_86 / arm64) should be used
|
||||
if [ "$(sysctl -n sysctl.proc_translated)" = "1" ]; then
|
||||
local brew_path="/usr/local/homebrew/bin"
|
||||
|
|
Loading…
Reference in a new issue