chore: clean up home configuration and simplify arty.yml

- Add Rust cargo environment to .zshenv
- Make oh-my-zsh sourcing conditional in .zshrc for safer initialization
- Simplify arty.yml: remove env-specific repository references, clean formatting
- Remove unused .vscode/settings.json

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-13 18:20:41 +01:00
parent 26fde94975
commit 1b90863c19
4 changed files with 35 additions and 105 deletions

49
.vscode/settings.json vendored
View File

@@ -1,49 +0,0 @@
{
"explorer.excludeGitIgnore": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[ignore]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[shellscript]": {
"editor.defaultFormatter": "mkhl.shfmt"
},
"[xml]": {
"editor.defaultFormatter": "trunk.io"
},
"[html]": {
"editor.defaultFormatter": "trunk.io"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[markdown]": {
"editor.defaultFormatter": "trunk.io"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[yaml]": {
"editor.defaultFormatter": "kennylong.kubernetes-yaml-formatter"
},
"[dockercompose]": {
"editor.defaultFormatter": "ms-azuretools.vscode-containers"
},
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
},
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[vue]": {
"editor.defaultFormatter": "Vue.volar"
}
}

View File

@@ -1 +1,2 @@
. "$HOME/.cargo/env"

2
.zshrc
View File

@@ -154,7 +154,7 @@ ZSH_THEME="powerlevel10k/powerlevel10k"
# Add wisely, as too many plugins slow down shell startup.
plugins=(git pm2 gh sudo ssh ruby rust python node github rsync nvm rbenv pyenv docker docker-compose qrcode zsh-autosuggestions zsh-syntax-highlighting zsh-interactive-cd zsh-navigation-tools)
source $ZSH/oh-my-zsh.sh
[[ ! -f $ZSH/oh-my-zsh.sh ]] || source $ZSH/oh-my-zsh.sh
# User configuration

View File

@@ -1,61 +1,39 @@
name: "Valknar's home"
version: "1.0.0"
version: '1.0.0'
description: "Valknar's home repository"
author: "valknar@pivoine.art"
license: "MIT"
envs:
dev:
prod:
author: 'valknar@pivoine.art'
license: 'MIT'
references:
- url: git@github.com:valknarogg/bin.git
into: bin
env:
- dev
- prod
- url: git@github.com:butter-sh/butter-sh.github.io.git
into: Projects/butter-sh
env: dev
- url: git@github.com:valknarogg/docker-compose.git
into: Projects/docker-compose
env:
- dev
- prod
- url: git@github.com:valknarogg/pivoine.art.git
into: Projects/pivoine.art
ref: main
env: dev
- url: git@github.com:valknarxxx/sexy.pivoine.art.git
into: Projects/sexy.pivoine.art
env: dev
- url: git@github.com:valknarness/awesome.git
into: Projects/node.js/awesome
env:
- dev
- prod
- url: git@github.com:valknarness/awesome-app.git
into: Projects/node.js/awesome-app
env: dev
- url: https://github.com/nvm-sh/nvm.git
into: .nvm
- url: https://github.com/moovweb/gvm.git
into: .gvm
- url: https://github.com/rbenv/rbenv.git
into: .rbenv
- url: https://github.com/rbenv/ruby-build.git
into: .rbenv/plugins/ruby-build
- url: https://github.com/pyenv/pyenv.git
into: .pyenv
- url: https://github.com/ohmyzsh/ohmyzsh.git
into: .oh-my-zsh
- url: https://github.com/romkatv/powerlevel10k.git
into: .oh-my-zsh/custom/themes/powerlevel10k
- url: https://github.com/zsh-users/zsh-autosuggestions.git
into: .oh-my-zsh/custom/plugins/zsh-autosuggestions
- url: https://github.com/zsh-users/zsh-syntax-highlighting.git
into: .oh-my-zsh/custom/plugins/zsh-syntax-highlighting
- url: git@github.com:valknarogg/bin.git
into: bin
- url: https://github.com/nvm-sh/nvm.git
into: .nvm
- url: https://github.com/moovweb/gvm.git
into: .gvm
- url: https://github.com/rbenv/rbenv.git
into: .rbenv
- url: https://github.com/rbenv/ruby-build.git
into: .rbenv/plugins/ruby-build
- url: https://github.com/pyenv/pyenv.git
into: .pyenv
- url: https://github.com/ohmyzsh/ohmyzsh.git
into: .oh-my-zsh
- url: https://github.com/romkatv/powerlevel10k.git
into: .oh-my-zsh/custom/themes/powerlevel10k
- url: https://github.com/zsh-users/zsh-autosuggestions.git
into: .oh-my-zsh/custom/plugins/zsh-autosuggestions
- url: https://github.com/zsh-users/zsh-syntax-highlighting.git
into: .oh-my-zsh/custom/plugins/zsh-syntax-highlighting
scripts:
debug: echo "$ARTY_BIN_DIR" && echo "$ARTY_LIBS_DIR" && echo "$ARTY_HOME"
debian/install: sudo apt install curl zsh fzf davfs2
rust/install: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
zed/install: curl -f https://zed.dev/install.sh | sh
claude/install: curl -fsSL https://claude.ai/install.sh | bash
mattermost/install:
curl -fsS -o- https://deb.packages.mattermost.com/setup-repo.sh | sudo bash
joplin/install:
wget -O - \
https://raw.githubusercontent.com/laurent22/joplin/dev/Joplin_install_and_update.sh
| bash