env to .profile; more ssh dns; ra-mux use .profile
This commit is contained in:
parent
66c18480ec
commit
9aa2e001ad
5 changed files with 47 additions and 40 deletions
|
@ -7,8 +7,9 @@ switch-to-activity-c9029e69-ec79-4399-8d82-a2b36f65b1d5=none,none,Switch to acti
|
||||||
|
|
||||||
[KDE Keyboard Layout Switcher]
|
[KDE Keyboard Layout Switcher]
|
||||||
Switch keyboard layout to English (UK, extended, Windows)=none,none,Switch keyboard layout to English (UK\\, extended\\, Windows)
|
Switch keyboard layout to English (UK, extended, Windows)=none,none,Switch keyboard layout to English (UK\\, extended\\, Windows)
|
||||||
Switch to Last-Used Keyboard Layout=Meta+Alt+L,Meta+Alt+L,Switch to Last-Used Keyboard Layout
|
Switch keyboard layout to German (Macintosh)=none,none,Switch keyboard layout to German (Macintosh)
|
||||||
Switch to Next Keyboard Layout=Meta+Alt+K,Meta+Alt+K,Switch to Next Keyboard Layout
|
Switch to Last-Used Keyboard Layout=,Meta+Alt+L,Switch to Last-Used Keyboard Layout
|
||||||
|
Switch to Next Keyboard Layout=,Meta+Alt+K,Switch to Next Keyboard Layout
|
||||||
_k_friendly_name=Keyboard Layout Switcher
|
_k_friendly_name=Keyboard Layout Switcher
|
||||||
|
|
||||||
[kaccess]
|
[kaccess]
|
||||||
|
|
|
@ -17,3 +17,15 @@ Host portainer.admin.euph.site
|
||||||
IdentityFile ~/.ssh/admin-yubikey-secondary
|
IdentityFile ~/.ssh/admin-yubikey-secondary
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
|
|
||||||
|
Host nextcloud.euph.site
|
||||||
|
User root
|
||||||
|
IdentityFile ~/.ssh/admin-yubikey-primary
|
||||||
|
IdentityFile ~/.ssh/admin-yubikey-secondary
|
||||||
|
IdentitiesOnly yes
|
||||||
|
|
||||||
|
Host euph.email
|
||||||
|
User root
|
||||||
|
IdentityFile ~/.ssh/admin-yubikey-primary
|
||||||
|
IdentityFile ~/.ssh/admin-yubikey-secondary
|
||||||
|
IdentitiesOnly yes
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ Description=Multiplex Rust Analyzer Sessions, for a fast LSP experience
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/zsh -l -c 'exec "$@"' _ %h/.local/share/cargo/bin/ra-multiplex server
|
ExecStart=/usr/bin/zsh -lc 'source %h/.profile && exec ra-multiplex server'
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
32
.profile
32
.profile
|
@ -1,9 +1,35 @@
|
||||||
# System
|
# System
|
||||||
export PATH="$PATH/$HOME/.local/bin"
|
export LOCAL_BIN="$HOME/.local/bin"
|
||||||
|
|
||||||
# Volta
|
# Volta
|
||||||
export VOLTA_HOME="$HOME/.local/share/volta"
|
export VOLTA_HOME="$HOME/.local/share/volta"
|
||||||
export PATH="$VOLTA_HOME/bin:$PATH"
|
|
||||||
|
# NPM
|
||||||
|
export npm_config_cache="$HOME/.cache/npm"
|
||||||
|
export npm_config_prefix="$HOME/.local/share/npm"
|
||||||
|
export npm_config_userconfig="$HOME/.config/npmrc"
|
||||||
|
export npm_config_loglevel="verbose"
|
||||||
|
export npm_config_log="$HOME/.local/share/npm/logs"
|
||||||
|
|
||||||
# Jetbrains Toolbox
|
# Jetbrains Toolbox
|
||||||
export PATH="$PATH:/home/snoweuph/.local/share/JetBrains/Toolbox/scripts"
|
export JETBRAINS_TOOLBOX_HOME="/home/snoweuph/.local/share/JetBrains/Toolbox"
|
||||||
|
|
||||||
|
# Go
|
||||||
|
export GOPATH=~/.local/share/go
|
||||||
|
export GOBIN=$GOPATH/bin
|
||||||
|
|
||||||
|
# Rust
|
||||||
|
export CARGO_HOME=$HOME/.local/share/cargo
|
||||||
|
export RUSTUP_HOME=$HOME/.local/share/rustup
|
||||||
|
|
||||||
|
# Php
|
||||||
|
export COMPOSER_HOME=$HOME/.local/share/composer
|
||||||
|
|
||||||
|
export PATH="$PATH:$LOCAL_BIN:$VOLTA_HOME/bin:$GOBIN:$CARGO_HOME/bin:$COMPOSER_HOME/vendor/bin:$JETBRAINS_TOOLBOX_HOME/scripts:$"
|
||||||
|
|
||||||
|
|
||||||
|
# ROCM - RX 6650 XT
|
||||||
|
export HSA_OVERRIDE_GFX_VERSION=10.3.0
|
||||||
|
|
||||||
|
# Just
|
||||||
|
export JUST_UNSTABLE=1
|
||||||
|
|
36
.zshrc
36
.zshrc
|
@ -48,54 +48,22 @@ fi
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
|
|
||||||
# Git
|
|
||||||
zinit snippet OMZP::git
|
zinit snippet OMZP::git
|
||||||
|
|
||||||
# Containerization
|
|
||||||
zinit snippet OMZP::docker-compose
|
zinit snippet OMZP::docker-compose
|
||||||
zinit snippet OMZP::podman
|
zinit snippet OMZP::podman
|
||||||
zinit snippet OMZP::toolbox
|
zinit snippet OMZP::toolbox
|
||||||
|
|
||||||
# NPM
|
|
||||||
export npm_config_cache="$HOME/.cache/npm"
|
|
||||||
export npm_config_prefix="$HOME/.local/share/npm"
|
|
||||||
export npm_config_userconfig="$HOME/.config/npmrc"
|
|
||||||
export npm_config_loglevel="verbose"
|
|
||||||
export npm_config_log="$HOME/.local/share/npm/logs"
|
|
||||||
|
|
||||||
# Volta
|
|
||||||
export VOLTA_HOME="$HOME/.local/share/volta"
|
|
||||||
[ ! -d $VOLTA_HOME ] && curl https://get.volta.sh | bash -s -- --skip-setup && volta install node@lts
|
|
||||||
|
|
||||||
# Go
|
|
||||||
export GOPATH=~/.local/share/go
|
|
||||||
export GOBIN=$GOPATH/bin
|
|
||||||
|
|
||||||
# Rust
|
|
||||||
export CARGO_HOME=$HOME/.local/share/cargo
|
|
||||||
export RUSTUP_HOME=$HOME/.local/share/rustup
|
|
||||||
zinit snippet OMZP::rust
|
zinit snippet OMZP::rust
|
||||||
|
|
||||||
# Php
|
|
||||||
export COMPOSER_HOME=$HOME/.local/share/composer
|
|
||||||
zinit snippet OMZP::composer
|
zinit snippet OMZP::composer
|
||||||
zinit snippet OMZP::symfony6
|
zinit snippet OMZP::symfony6
|
||||||
|
|
||||||
# ROCM
|
source $HOME/.profile
|
||||||
export HSA_OVERRIDE_GFX_VERSION=10.3.0 # RX 6650 XT
|
|
||||||
|
|
||||||
# Just
|
|
||||||
export JUST_UNSTABLE=1
|
|
||||||
|
|
||||||
# PATH
|
|
||||||
export PATH=$PATH:$VOLTA_HOME/bin:$GOBIN:$CARGO_HOME/bin:$COMPOSER_HOME/vendor/bin
|
|
||||||
|
|
||||||
# Install Dependencies
|
# Install Dependencies
|
||||||
|
[ ! -d $VOLTA_HOME ] && curl https://get.volta.sh | bash -s -- --skip-setup && volta install node@lts
|
||||||
command -v go &>/dev/null || sudo dnf install go
|
command -v go &>/dev/null || sudo dnf install go
|
||||||
[ ! -d $RUSTUP_HOME ] && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path -y
|
[ ! -d $RUSTUP_HOME ] && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path -y
|
||||||
command -v composer &>/dev/null || sudo dnf install composer
|
command -v composer &>/dev/null || sudo dnf install composer
|
||||||
|
|
||||||
|
|
||||||
# Install Scripts
|
# Install Scripts
|
||||||
$HOME/.config/install.sh
|
$HOME/.config/install.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue