mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
Add configuration for susanoo
Also run dotdrop via virtualenv (see Readme)
This commit is contained in:
parent
afbf0e98a8
commit
c1da3bddae
10
README.md
10
README.md
|
@ -7,15 +7,19 @@ I manage my dotfiles using [dotdrop](https://github.com/deadc0de6/dotdrop).
|
||||||
1. Install [Homebrew](https://brew.sh/)
|
1. Install [Homebrew](https://brew.sh/)
|
||||||
2. Install `coreutils` via Homebrew.
|
2. Install `coreutils` via Homebrew.
|
||||||
3. Install [pyenv](https://github.com/pyenv/pyenv)
|
3. Install [pyenv](https://github.com/pyenv/pyenv)
|
||||||
4. Install the latest python version via pyenv
|
a. Install [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv)
|
||||||
5. Configure the latest python version as system (global) default
|
b. Add pyenv temporarly to your path: `export PATH=$(pyenv root)/shims:${PATH}`
|
||||||
|
c. Install the latest python version via pyenv
|
||||||
|
d. Create a new virtual-env caleld `dotdrop` via `pyenv virtualenv <just installed python verison> dotdrop`
|
||||||
|
4. Initialize pyenv; run `pyenv init` for instructions
|
||||||
|
5. Activate the `dotdrop` virtualenv by using `pyenv shell dotdrop`
|
||||||
6. Clone dotfiles, install dependencies for dotdrop and install dotfiles.
|
6. Clone dotfiles, install dependencies for dotdrop and install dotfiles.
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/shokinn/.files ~/.files \
|
git clone https://github.com/shokinn/.files ~/.files \
|
||||||
&& cd ~/.files \
|
&& cd ~/.files \
|
||||||
&& git submodule update --init \
|
&& git submodule update --init \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& pip install --user -r ~/.files/dotdrop/requirements.txt \
|
&& pip install -r ~/.files/dotdrop/requirements.txt \
|
||||||
&& eval $(grep -v "^#" ~/.files/.env.public) ~/.files/dotdrop.sh install
|
&& eval $(grep -v "^#" ~/.files/.env.public) ~/.files/dotdrop.sh install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
48
config.yaml
48
config.yaml
|
@ -184,6 +184,39 @@ profiles:
|
||||||
- f_wsladdhypervroute
|
- f_wsladdhypervroute
|
||||||
- f_wslenablehypervforwarding
|
- f_wslenablehypervforwarding
|
||||||
- f_wslshowhypervforwarding
|
- f_wslshowhypervforwarding
|
||||||
|
sbx0nucmac01.home.pphg.tech:
|
||||||
|
dotfiles:
|
||||||
|
- f_vimrc
|
||||||
|
- f_zshrc
|
||||||
|
- f_zshenv
|
||||||
|
- f_powerlevel10krc
|
||||||
|
- d_colors
|
||||||
|
- f_c3cp
|
||||||
|
- f_mount_c3voc
|
||||||
|
- f_c3l
|
||||||
|
- f_c3kdenlive
|
||||||
|
- f_c3mpv
|
||||||
|
- f_c3check
|
||||||
|
- f_zprofile
|
||||||
|
- f_commonfunc
|
||||||
|
susanoo.int.r3w.de:
|
||||||
|
dotfiles:
|
||||||
|
- f_vimrc
|
||||||
|
- f_zshrc
|
||||||
|
- f_zshenv
|
||||||
|
- f_powerlevel10krc
|
||||||
|
- d_colors
|
||||||
|
- f_c3cp
|
||||||
|
- f_mount_c3voc
|
||||||
|
- f_c3l
|
||||||
|
- f_c3kdenlive
|
||||||
|
- f_c3mpv
|
||||||
|
- f_c3check
|
||||||
|
- f_zprofile
|
||||||
|
- f_dotdrop.sh
|
||||||
|
- f_rmquarantine
|
||||||
|
- f_commonfunc
|
||||||
|
- f_secretfiles
|
||||||
yoetunheimr:
|
yoetunheimr:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
- d_bspwm
|
- d_bspwm
|
||||||
|
@ -271,21 +304,6 @@ profiles:
|
||||||
- d_colors
|
- d_colors
|
||||||
- f_zprofile
|
- f_zprofile
|
||||||
- f_commonfunc
|
- f_commonfunc
|
||||||
sbx0nucmac01.home.pphg.tech:
|
|
||||||
dotfiles:
|
|
||||||
- f_vimrc
|
|
||||||
- f_zshrc
|
|
||||||
- f_zshenv
|
|
||||||
- f_powerlevel10krc
|
|
||||||
- d_colors
|
|
||||||
- f_c3cp
|
|
||||||
- f_mount_c3voc
|
|
||||||
- f_c3l
|
|
||||||
- f_c3kdenlive
|
|
||||||
- f_c3mpv
|
|
||||||
- f_c3check
|
|
||||||
- f_zprofile
|
|
||||||
- f_commonfunc
|
|
||||||
WVDEWOBMC001307:
|
WVDEWOBMC001307:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
- f_vimrc
|
- f_vimrc
|
||||||
|
|
|
@ -5,4 +5,5 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
eval $(grep -v "^#" {{@@ env['HOME'] @@}}/.files/.env.public)
|
eval $(grep -v "^#" {{@@ env['HOME'] @@}}/.files/.env.public)
|
||||||
|
export PYENV_VERSION="dotdrop"
|
||||||
{{@@ env['HOME'] @@}}/.files/dotdrop.sh ${@}
|
{{@@ env['HOME'] @@}}/.files/dotdrop.sh ${@}
|
||||||
|
|
|
@ -58,11 +58,11 @@ EOF
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
{%@@ if profile == 'WVDEWOBMC001307' @@%}
|
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
|
||||||
macnst (){
|
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 "|"
|
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(){
|
function setProxyEnv(){
|
||||||
local HIGHLIGHT='\033[36;1m'
|
local HIGHLIGHT='\033[36;1m'
|
||||||
local RESET='\033[0;0m'
|
local RESET='\033[0;0m'
|
||||||
|
|
|
@ -9,7 +9,7 @@ export VISUAL
|
||||||
EDITOR='vim'
|
EDITOR='vim'
|
||||||
export EDITOR
|
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)"
|
[[ $(command -v /opt/homebrew/bin/brew) ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
|
|
||||||
# Added by Toolbox App
|
# Added by Toolbox App
|
||||||
|
|
|
@ -46,7 +46,7 @@ export GPG_TTY=$(tty)
|
||||||
# X410 (Windows X11 Server)
|
# X410 (Windows X11 Server)
|
||||||
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
|
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
{%@@ if profile == 'WVDEWOBMC001307' @@%}
|
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
|
||||||
export HOMEBREW_CASK_OPTS="--appdir=~/Applications"
|
export HOMEBREW_CASK_OPTS="--appdir=~/Applications"
|
||||||
|
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
|
|
|
@ -107,7 +107,7 @@ plugins=(
|
||||||
|
|
||||||
autoload -U compinit && compinit
|
autoload -U compinit && compinit
|
||||||
|
|
||||||
{%@@ if profile == 'ymir' @@%}
|
{%@@ if profile == 'ymir' or profile == 'susanoo.int.r3w.de' @@%}
|
||||||
# Source fzf-tab-completions
|
# Source fzf-tab-completions
|
||||||
# source {{@@ env['HOME'] @@}}/.oh-my-zsh/custom/plugins/fzf-tab-completion/zsh/fzf-zsh-completion.sh
|
# source {{@@ env['HOME'] @@}}/.oh-my-zsh/custom/plugins/fzf-tab-completion/zsh/fzf-zsh-completion.sh
|
||||||
# zstyle ':completion:*' fzf-search-display true
|
# zstyle ':completion:*' fzf-search-display true
|
||||||
|
@ -170,7 +170,7 @@ if [ -f "{{@@ env['HOME'] @@}}/.local/bin/pipx" ]; then
|
||||||
eval "$(register-python-argcomplete pipx)"
|
eval "$(register-python-argcomplete pipx)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{%@@ if profile == 'WVDEWOBMC001307' @@%}
|
{%@@ if profile == 'WVDEWOBMC001307' or profile == 'susanoo.int.r3w.de' @@%}
|
||||||
# Decide which homebrew installation (x64_86 / arm64) should be used
|
# Decide which homebrew installation (x64_86 / arm64) should be used
|
||||||
if [ "$(sysctl -n sysctl.proc_translated)" = "1" ]; then
|
if [ "$(sysctl -n sysctl.proc_translated)" = "1" ]; then
|
||||||
local brew_path="/usr/local/homebrew/bin"
|
local brew_path="/usr/local/homebrew/bin"
|
||||||
|
|
Loading…
Reference in a new issue