From 1b90863c19ebd7431bc9951669e8e88a5cfbe124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Thu, 13 Nov 2025 18:20:41 +0100 Subject: [PATCH] chore: clean up home configuration and simplify arty.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .vscode/settings.json | 49 ------------------------ .zshenv | 1 + .zshrc | 2 +- arty.yml | 88 ++++++++++++++++--------------------------- 4 files changed, 35 insertions(+), 105 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 14846432..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -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" - } -} diff --git a/.zshenv b/.zshenv index 8b137891..82e53d5a 100644 --- a/.zshenv +++ b/.zshenv @@ -1 +1,2 @@ +. "$HOME/.cargo/env" diff --git a/.zshrc b/.zshrc index d06dd529..089d7915 100644 --- a/.zshrc +++ b/.zshrc @@ -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 diff --git a/arty.yml b/arty.yml index 6cc0be33..4fe769ba 100644 --- a/arty.yml +++ b/arty.yml @@ -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