Add configuration for susanoo

Also run dotdrop via virtualenv (see Readme)
This commit is contained in:
Philip Henning 2024-01-10 19:11:43 +01:00
parent afbf0e98a8
commit c1da3bddae
7 changed files with 48 additions and 25 deletions

View file

@ -5,4 +5,5 @@
#
eval $(grep -v "^#" {{@@ env['HOME'] @@}}/.files/.env.public)
export PYENV_VERSION="dotdrop"
{{@@ env['HOME'] @@}}/.files/dotdrop.sh ${@}

View file

@ -58,11 +58,11 @@ EOF
fi
}
{%@@ if profile == 'WVDEWOBMC001307' @@%}
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
macnst (){
netstat -Watnlv | grep LISTEN | awk '{"ps -o comm= -p " $9 | getline procname;colred="\033[01;31m";colclr="\033[0m"; print colred "proto: " colclr $1 colred " | addr.port: " colclr $4 colred " | pid: " colclr $9 colred " | name: " colclr procname; }' | column -t -s "|"
}
{%@@ endif @@%}{%@@ if profile == 'WVDEWOBMC001307' @@%}
function setProxyEnv(){
local HIGHLIGHT='\033[36;1m'
local RESET='\033[0;0m'

View file

@ -9,7 +9,7 @@ export VISUAL
EDITOR='vim'
export EDITOR
{%@@ if profile == 'WVDEWOBMC001307' @@%}
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
[[ $(command -v /opt/homebrew/bin/brew) ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
# Added by Toolbox App

View file

@ -46,7 +46,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' @@%}
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
export HOMEBREW_CASK_OPTS="--appdir=~/Applications"
{%@@ endif @@%}

View file

@ -107,7 +107,7 @@ plugins=(
autoload -U compinit && compinit
{%@@ if profile == 'ymir' @@%}
{%@@ if profile == 'ymir' or profile == 'susanoo.int.r3w.de' @@%}
# 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
@ -170,7 +170,7 @@ if [ -f "{{@@ env['HOME'] @@}}/.local/bin/pipx" ]; then
eval "$(register-python-argcomplete pipx)"
fi
{%@@ if profile == 'WVDEWOBMC001307' @@%}
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
# 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"