diff --git a/config/ghostty/config b/config/ghostty/config deleted file mode 120000 index 2856728..0000000 --- a/config/ghostty/config +++ /dev/null @@ -1 +0,0 @@ -/nix/store/1dis4iwn9mv7l2xal8c15qjqy6pj5yrc-home-manager-files/.config/ghostty/config \ No newline at end of file diff --git a/config/helix/config.toml b/config/helix/config.toml deleted file mode 120000 index cdd6b24..0000000 --- a/config/helix/config.toml +++ /dev/null @@ -1 +0,0 @@ -/nix/store/1dis4iwn9mv7l2xal8c15qjqy6pj5yrc-home-manager-files/.config/helix/config.toml \ No newline at end of file diff --git a/config/helix/languages.toml b/config/helix/languages.toml deleted file mode 120000 index 6c892ad..0000000 --- a/config/helix/languages.toml +++ /dev/null @@ -1 +0,0 @@ -/nix/store/1dis4iwn9mv7l2xal8c15qjqy6pj5yrc-home-manager-files/.config/helix/languages.toml \ No newline at end of file diff --git a/config/helix/languages.toml.before-home-manager b/config/helix/languages.toml.before-home-manager deleted file mode 100644 index e5e75e6..0000000 --- a/config/helix/languages.toml.before-home-manager +++ /dev/null @@ -1,47 +0,0 @@ -[language-server] -biome = { command = "bunx", args = ["biome", "lsp-proxy"] } - -[language-server.astro-ls] -args = ["--stdio"] -command = "astro-ls" -config = { typescript = { tsdk = ".local/share/pnpm/global/5/node_modules/typescript/lib" } } - -[[language]] -name = "astro" -scope = "source.astro" -injection-regex = "astro" -file-types = ["astro"] -language-servers = ["astro-ls"] -formatter = { command = "prettier", args = ["--plugin", "prettier-plugin-astro", "--parser", "astro"] } -auto-format = true - -[[language]] -name = "typescript" -language-servers = [ { name = "typescript-language-server", except-features = [ "format" ] }, "biome"] -indent = { tab-width = 2, unit = " " } -auto-format = true - -[[language]] -name = "tsx" -language-servers = [ { name = "typescript-language-server", except-features = [ "format" ] }, "biome"] -indent = { tab-width = 2, unit = " " } -auto-format = true - -[[language]] -name = "jsx" -language-servers = [ { name = "typescript-language-server", except-features = [ "format" ] }, "biome"] -grammar = "javascript" -indent = { tab-width = 2, unit = " " } -auto-format = true - -[[language]] -name = "javascript" -language-servers = [ { name = "typescript-language-server", except-features = [ "format" ] }, "biome"] -indent = { tab-width = 2, unit = " " } -auto-format = true - -[[language]] -name = "json" -language-servers = [ { name = "typescript-language-server", except-features = [ "format" ] }, "biome"] -indent = { tab-width = 2, unit = " " } -auto-format = true diff --git a/config/helix/themes/ayu_mirage_transparent.toml b/config/helix/themes/ayu_mirage_transparent.toml deleted file mode 100644 index a5f6f5f..0000000 --- a/config/helix/themes/ayu_mirage_transparent.toml +++ /dev/null @@ -1,2 +0,0 @@ -inherits = "ayu_mirage" -"ui.background" = {} diff --git a/config/helix/themes/catppuccin_dynamic_transparent.toml b/config/helix/themes/catppuccin_dynamic_transparent.toml deleted file mode 120000 index 62a4b63..0000000 --- a/config/helix/themes/catppuccin_dynamic_transparent.toml +++ /dev/null @@ -1 +0,0 @@ -/Users/chrisvanderloo/.config/helix/themes/catppuccin_latte_transparent.toml \ No newline at end of file diff --git a/config/helix/themes/catppuccin_latte_transparent.toml b/config/helix/themes/catppuccin_latte_transparent.toml deleted file mode 100644 index 249b1c2..0000000 --- a/config/helix/themes/catppuccin_latte_transparent.toml +++ /dev/null @@ -1,2 +0,0 @@ -inherits = "catppuccin_latte" -"ui.background" = {} diff --git a/config/helix/themes/catppuccin_mocha_transparent.toml b/config/helix/themes/catppuccin_mocha_transparent.toml deleted file mode 100644 index 3588233..0000000 --- a/config/helix/themes/catppuccin_mocha_transparent.toml +++ /dev/null @@ -1,2 +0,0 @@ -inherits = "catppuccin_mocha" -"ui.background" = {} diff --git a/config/sheldon/plugins.toml b/config/sheldon/plugins.toml deleted file mode 100644 index 2a53a9b..0000000 --- a/config/sheldon/plugins.toml +++ /dev/null @@ -1,57 +0,0 @@ -# `sheldon` configuration file -# ---------------------------- -# -# You can modify this file directly or you can use one of the following -# `sheldon` commands which are provided to assist in editing the config file: -# -# - `sheldon add` to add a new plugin to the config file -# - `sheldon edit` to open up the config file in the default editor -# - `sheldon remove` to remove a plugin from the config file -# -# See the documentation for more https://github.com/rossmacarthur/sheldon#readme - -shell = "zsh" - -[plugins] - -[plugins.zsh-completions] -github = "zsh-users/zsh-completions" - -[plugins.zsh-autosuggestions] -github = "zsh-users/zsh-autosuggestions" - -[plugins.zsh-syntax-highlighting] -github = "zdharma-continuum/fast-syntax-highlighting" - -[plugins.docker-helpers] -github = "chrisvander/docker-helpers.zshplugin" - -[plugins.zsh-docker-compose] -github = "sroze/docker-compose-zsh-plugin" - -[plugins.zoxide] -github = "ajeetdsouza/zoxide" - -[plugins.zsh-kubectl] -github = "chrishrb/zsh-kubectl" - -[plugins.zsh-terraform] -github = "macunha1/zsh-terraform" - -[plugins.zsh-prompt-benchmark] -github = "romkatv/zsh-prompt-benchmark" - -[plugins.zsh-abbr] -github = "olets/zsh-abbr" - -[plugins.zsh-aws] -github = "apachler/zsh-aws" - -[plugins.fzf-git] -github = "junegunn/fzf-git.sh" - -[plugins.fzf-tab] -github = "Aloxaf/fzf-tab" - -[plugins.zsh-defer] -github = "romkatv/zsh-defer" diff --git a/config/zsh/.gitignore b/config/zsh/.gitignore deleted file mode 100644 index 8955802..0000000 --- a/config/zsh/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.zcompdump -.zsh_history -*.zwc diff --git a/config/zsh/.zprofile b/config/zsh/.zprofile deleted file mode 100644 index 4429328..0000000 --- a/config/zsh/.zprofile +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env zsh - -eval "$(/opt/homebrew/bin/brew shellenv)" diff --git a/config/zsh/.zshenv b/config/zsh/.zshenv deleted file mode 100644 index 14493bd..0000000 --- a/config/zsh/.zshenv +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env zsh - -# XDG -export XDG_CONFIG_HOME=$HOME/.config -export XDG_CACHE_HOME=$HOME/.cache -export XDG_DATA_HOME=$HOME/.local/share -export XDG_STATE_HOME=$HOME/.local/state -# `op` does not work with `XDG_RUNTIME_DIR` set, -# so I'm allowing it to default to the default behavior -# (e.g. under $TMPDIR) -# export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir/ - -export EDITOR=${EDITOR:-hx} -export VISUAL=${VISUAL:-hx} -export MANPAGER=${MANPAGER:-nvim +Man!} -export PNPM_BIN="$HOME/.local/share/pnpm" -export MISE_BIN="$HOME/.local/share/mise/shims" -export PATH="$MISE_BIN:$PNPM_BIN:$PATH" - -alias k=kubectl -alias mk=minikube -alias kc='kubectl config get-contexts' -alias ks='kubectl config use-context' -alias d=docker -alias dc='docker compose' -alias p='pnpm prisma' -alias pnx='pnpm nx' -alias cat=bat -alias tree='eza -ah --icons=always --tree --level=3 --git-ignore --ignore-glob=".git|node_modules|.DS_Store"' -alias ls='eza --icons=always --git' -alias la='eza -lah --icons --git --no-user' -alias gc='git commit' -alias gch='git checkout' -alias gs='git status' -alias gp='git push' -alias gpl='git pull' -alias k9s='aws sts get-caller-identity &> /dev/null; if [ $? = 0 ]; then k9s; else aws sso login && k9s; fi' -alias vi=nvim -alias vim=nvim - -. "/Users/chrisvanderloo/.local/share/mise/installs/rust/latest/env" diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc deleted file mode 100644 index 4f929aa..0000000 --- a/config/zsh/.zshrc +++ /dev/null @@ -1,100 +0,0 @@ -#!/usr/bin/env zsh - -# brew completions -if type brew &>/dev/null; then - FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}" -fi - -autoload -Uz compinit && compinit - -# plugins -eval "$(sheldon source)" -eval "$(sheldon completions --shell zsh)" - -# fzf -eval "$(fzf --zsh)" - -# mise -eval "$(mise activate zsh)" -eval "$(mise completion zsh)" - -# kubectl -[[ ! -f $HOME/.kube/config ]] || export KUBECONFIG=$HOME/.kube/config -eval "$(kubectl completion zsh)" - -# prompt -eval "$(starship init zsh)" -eval "$(starship completions zsh)" - -# conda -__conda_setup="$('/opt/homebrew/Caskroom/miniforge/base/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" -if [ $? -eq 0 ]; then - zsh-defer eval "$__conda_setup" -else - if [ -f "/opt/homebrew/Caskroom/miniforge/base/etc/profile.d/conda.sh" ]; then - . "/opt/homebrew/Caskroom/miniforge/base/etc/profile.d/conda.sh" - else - export PATH="/opt/homebrew/Caskroom/miniforge/base/bin:$PATH" - fi -fi -unset __conda_setup - -# history -HISTFILE="$XDG_DATA_HOME/zsh/.zsh_history" -HISTSIZE=1000000 # Maximum events for local history -SAVEHIST=$HISTSIZE # Maximum events in history file - -setopt EXTENDED_HISTORY # Format history entries as ':start:elapsed;command' -setopt HIST_REDUCE_BLANKS # Remove extra whitespace before appending to local history - -setopt HIST_FIND_NO_DUPS # Do not display a previously found event -setopt HIST_SAVE_NO_DUPS # Do not write duplicate events to the history file -setopt HIST_IGNORE_ALL_DUPS # Deletes an old event if a new event is a duplicate -setopt HIST_EXPIRE_DUPS_FIRST # Remove a duplicate event first when trimming history - -setopt INC_APPEND_HISTORY_TIME # Append events to history file immediately - -setopt HIST_NO_STORE # Don't store the history command in history -export HISTORY_IGNORE="cd|cd *|ls *|mv *|cp *|cat *" - -# fzf settings -export FZF_DEFAULT_COMMAND="fd --hidden --strip-cwd-prefix --exclude .git" -export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" -export FZF_ALT_C_COMMAND="fd --type d --hidden --strip-cwd-prefix --exclude .git" -_fzf_compgen_path() { - fd --hidden --follow --exclude .git . "$1" -} -_fzf_compgen_dir() { - fd --type d --hidden --follow --exclude .git . "$1" -} -_fzf_comprun() { - local command=$1 - shift - - case $command in - cd) fzf --preview 'eza --tree --color=always --icons {} | head -200' "$@" ;; - export|unset) fzf --preview "eval echo {}" "$@" ;; - ssh) fzf --preview "dig {}" "$@" ;; - *) fzf --preview "--preview 'bat -n --color=always --line-range :500 {}'" "$@" ;; - - esac -} - -# auto-update -__update_dotfiles() { - git fetch - - UPSTREAM=${1:-'@{u}'} - LOCAL=$(git rev-parse @) - REMOTE=$(git rev-parse "$UPSTREAM") - BASE=$(git merge-base @ "$UPSTREAM") - - if [ $LOCAL = $REMOTE ]; then - true - elif [ $LOCAL = $BASE ]; then - git pull - fi -} - -zsh-defer __update_dotfiles &> /dev/null -