Include ssh_config; rename Host susanoo

This commit is contained in:
Philip Henning 2024-06-11 07:52:12 +02:00
parent e5ca559150
commit 33270abf66
6 changed files with 33 additions and 8 deletions

View file

@ -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
View 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 @@%}

View file

@ -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

View file

@ -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 @@%}

View file

@ -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"