mirror of
https://github.com/shokinn/.files.git
synced 2025-01-19 05:22:25 +00:00
add ymir
This commit is contained in:
parent
c24f7c1777
commit
905492748a
16
config.yaml
16
config.yaml
|
@ -188,6 +188,22 @@ profiles:
|
||||||
- f_c3check
|
- f_c3check
|
||||||
- f_zprofile
|
- f_zprofile
|
||||||
- f_start_systemd_shell.sh
|
- f_start_systemd_shell.sh
|
||||||
|
ymir:
|
||||||
|
dotfiles:
|
||||||
|
- f_zshrc
|
||||||
|
- f_zshenv
|
||||||
|
- f_zprofile
|
||||||
|
- d_fonts
|
||||||
|
- f_profile
|
||||||
|
- f_vimrc
|
||||||
|
- f_powerlevel10krc
|
||||||
|
- d_colors
|
||||||
|
- f_c3cp
|
||||||
|
- f_mount_c3voc
|
||||||
|
- f_c3l
|
||||||
|
- f_c3kdenlive
|
||||||
|
- f_c3mpv
|
||||||
|
- f_c3check
|
||||||
workspace:
|
workspace:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
- d_fonts
|
- d_fonts
|
||||||
|
|
|
@ -19,19 +19,21 @@ export EDITOR
|
||||||
{%@@ if profile == 'VWAGWOY00349' @@%}
|
{%@@ if profile == 'VWAGWOY00349' @@%}
|
||||||
[[ $(command -v /opt/homebrew/bin/brew) ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
|
[[ $(command -v /opt/homebrew/bin/brew) ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
[[ $(command -v pyenv) ]] && eval "$(pyenv init --path)"
|
[[ $(command -v pyenv) ]] && eval "$(pyenv init -)"
|
||||||
|
|
||||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' @@%}
|
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' @@%}
|
||||||
# Set DOTNET_ROOT enviroment variable
|
# Set DOTNET_ROOT enviroment variable
|
||||||
DOTNET_ROOT=/opt/dotnet
|
DOTNET_ROOT=/opt/dotnet
|
||||||
export DOTNET_ROOT
|
export DOTNET_ROOT
|
||||||
|
|
||||||
|
{%@@ endif @@%}
|
||||||
|
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
|
||||||
# Set XDG_CONFIG_HOME
|
# Set XDG_CONFIG_HOME
|
||||||
XDG_CONFIG_HOME="{{@@ env['HOME'] @@}}/.config"
|
XDG_CONFIG_HOME="{{@@ env['HOME'] @@}}/.config"
|
||||||
export XDG_CONFIG_HOME
|
export XDG_CONFIG_HOME
|
||||||
{%@@ endif @@%}
|
|
||||||
|
|
||||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' @@%}
|
{%@@ endif @@%}
|
||||||
|
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
|
||||||
# Run VPN-Kit alpine VM to route traffic through Windows and if connected through VPNs
|
# Run VPN-Kit alpine VM to route traffic through Windows and if connected through VPNs
|
||||||
wsl.exe -d wsl-vpnkit service wsl-vpnkit start
|
wsl.exe -d wsl-vpnkit service wsl-vpnkit start
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
|
|
|
@ -18,7 +18,7 @@ export ANSIBLE_NOCOWS=1
|
||||||
[[ -d "{{@@ env['HOME'] @@}}/.local/bin" ]] && export PATH="{{@@ env['HOME'] @@}}/.local/bin:${PATH}"
|
[[ -d "{{@@ env['HOME'] @@}}/.local/bin" ]] && export PATH="{{@@ env['HOME'] @@}}/.local/bin:${PATH}"
|
||||||
|
|
||||||
|
|
||||||
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' @@%}
|
{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' or profile == 'ymir' @@%}
|
||||||
# Connect to windows ssh pageant
|
# Connect to windows ssh pageant
|
||||||
# https://github.com/BlackReloaded/wsl2-ssh-pageant
|
# https://github.com/BlackReloaded/wsl2-ssh-pageant
|
||||||
export SSH_AUTH_SOCK={{@@ env['HOME'] @@}}/.ssh/agent.sock
|
export SSH_AUTH_SOCK={{@@ env['HOME'] @@}}/.ssh/agent.sock
|
||||||
|
|
|
@ -84,7 +84,7 @@ COMPLETION_WAITING_DOTS="true"
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(
|
plugins=(
|
||||||
{%@@ if profile == 'yoetunheimr' or profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' @@%} archlinux
|
{%@@ if profile == 'yoetunheimr' or profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'ymir' @@%} archlinux
|
||||||
{%@@ endif @@%} aws
|
{%@@ endif @@%} aws
|
||||||
colored-man-pages
|
colored-man-pages
|
||||||
cp
|
cp
|
||||||
|
@ -144,7 +144,7 @@ source ${ZSH}/oh-my-zsh.sh
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
[[ -f {{@@ env['HOME'] @@}}/.files/dotdrop.sh ]] && alias dotdrop='eval $(grep -v "^#" {{@@ env['HOME'] @@}}/.files/.env.public) {{@@ env['HOME'] @@}}/.files/dotdrop.sh'
|
[[ -f {{@@ env['HOME'] @@}}/.files/dotdrop.sh ]] && alias dotdrop='eval $(grep -v "^#" {{@@ env['HOME'] @@}}/.files/.env.public) {{@@ env['HOME'] @@}}/.files/dotdrop.sh'
|
||||||
[[ $(command -v thefuck) ]] && eval $(thefuck --alias)
|
[[ $(command -v thefuck) ]] && eval $(thefuck --alias)
|
||||||
#{%@@ if profile == 'AINCRAD-wsl' or profile == 'YOETUNHEIMR-wsl' @@%}
|
#{%@@ if profile == 'AINCRAD-wsl' or profile == 'YOETUNHEIMR-wsl' or profile == 'ymir' @@%}
|
||||||
# Use https://github.com/jgaa/shinysocks as simple socks5 proxy for windows
|
# Use https://github.com/jgaa/shinysocks as simple socks5 proxy for windows
|
||||||
#[[ $(command -v kubectl) ]] && alias proxy_kubectl="http_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 https_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 kubectl"
|
#[[ $(command -v kubectl) ]] && alias proxy_kubectl="http_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 https_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 kubectl"
|
||||||
#[[ $(command -v kubectl) ]] && alias pk='proxy_kubectl'
|
#[[ $(command -v kubectl) ]] && alias pk='proxy_kubectl'
|
||||||
|
|
Loading…
Reference in a new issue