Compare commits

..

28 Commits

Author SHA1 Message Date
Buddy Sandidge
1725a711e8 Update HelloTech config to chezmoi 2023-05-26 00:12:39 -07:00
Buddy Sandidge
7e92d28f52 Convert old scripts to chezmoi
requires include_legacy data to be set to true:

[data]
include_legacy = true
2023-05-25 23:17:16 -07:00
Buddy Sandidge
af120aab24 Convert install scripts to chezmoi 2023-05-25 16:40:29 -07:00
Buddy Sandidge
5354e750e1 Update fancy vim config to chezmoi 2023-05-25 16:23:58 -07:00
Buddy Sandidge
d65fb00282 Convert vim config to chezmoi 2023-05-25 16:17:57 -07:00
Buddy Sandidge
398158e747 Convert tmux from stow to chezmoi 2023-05-25 16:03:18 -07:00
Buddy Sandidge
5dd202512d Convert starship from stow to chezmoi 2023-05-25 15:47:37 -07:00
Buddy Sandidge
bae893a736 Convert rust from stow to chezmoi 2023-05-25 15:43:03 -07:00
Buddy Sandidge
a670c6271c Convert ruby from stow to chezmoi 2023-05-25 15:39:35 -07:00
Buddy Sandidge
be9544482c Convert ripgrep from stow to chezmoi 2023-05-25 15:29:28 -07:00
Buddy Sandidge
298195100a Convert node to chezmoi 2023-05-25 15:24:20 -07:00
Buddy Sandidge
cb98b24161 Convert lf from stow to chezmoi 2023-05-25 15:15:37 -07:00
Buddy Sandidge
30b064c9ed Convert i3 stow config to chezmoi 2023-05-25 15:09:24 -07:00
Buddy Sandidge
7fa23b9b31 Convert go stow to chezmoi 2023-05-25 15:04:16 -07:00
Buddy Sandidge
309767509d Convert git-personal to chezmoi 2023-05-25 14:50:12 -07:00
Buddy Sandidge
5890b82974 Update .chezmoiignore 2023-05-25 14:45:04 -07:00
Buddy Sandidge
ea4f67847d Convert basic git to chezmoi 2023-05-25 14:44:26 -07:00
Buddy Sandidge
2ce8d4a750 Convert fzf to chezmoi 2023-05-25 14:40:59 -07:00
Buddy Sandidge
faa549b754 Convert erdtree to chezmoi 2023-05-25 14:37:44 -07:00
Buddy Sandidge
dbee5f4fea Convert direnv to chezmoi 2023-05-25 14:32:32 -07:00
Buddy Sandidge
3d476bc881 Rename install bat script 2023-05-25 14:27:40 -07:00
Buddy Sandidge
53c6dbb929 Convert deno to to chezmoi 2023-05-25 14:25:15 -07:00
Buddy Sandidge
e731010580 Convert bat from stow to chezmoi 2023-05-25 14:22:12 -07:00
Buddy Sandidge
0c402d3754 Convert jq to templates 2023-05-25 14:12:45 -07:00
Buddy Sandidge
0203957b9e Remove base-linux/base-osx and use chezmoi templates 2023-05-25 14:07:26 -07:00
Buddy Sandidge
4dff6612a8 Move stow base package to chezmoi 2023-05-25 13:09:50 -07:00
Buddy Sandidge
82ed4bab54 Add chezmoiignore file 2023-05-25 11:53:18 -07:00
Buddy Sandidge
5a4a3a2eae Bump deno version to 1.34 2023-05-25 11:36:25 -07:00
235 changed files with 233 additions and 86 deletions

2
.chezmoiignore Normal file
View File

@ -0,0 +1,2 @@
/hellotech/
/README.md

View File

@ -1,15 +0,0 @@
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
XDG_DESKTOP_DIR="$HOME/desktop"
XDG_DOCUMENTS_DIR="$HOME/documents"
XDG_DOWNLOAD_DIR="$HOME/downloads"
XDG_MUSIC_DIR="$HOME/music"
XDG_PICTURES_DIR="$HOME/pictures"
XDG_PODCAST_DIR="$HOME/podcasts"
XDG_PUBLICSHARE_DIR="$HOME/public"
XDG_TEMPLATES_DIR="$HOME/templates"
XDG_VIDEOS_DIR="$HOME/videos"

View File

@ -1 +0,0 @@
en_US

View File

@ -1 +0,0 @@
eval "$(dircolors -b)"

View File

@ -1,2 +0,0 @@
#shellcheck disable=SC2034
CLICOLOR=1

View File

@ -1,15 +0,0 @@
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_PODCAST_DIR="$HOME/Podcasts"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_VIDEOS_DIR="$HOME/Movies"

View File

@ -1 +0,0 @@
eval "$(direnv hook bash)"

View File

@ -1 +0,0 @@
eval "$(direnv hook zsh)"

View File

@ -1,3 +1,4 @@
{{ if lookPath "bat" -}}
#!/usr/bin/env bash
alias batdiff='batdiff --pager=""'
@ -5,3 +6,4 @@ alias batdiff='batdiff --pager=""'
if command -v bat &> /dev/null ; then
alias cat=bat
fi
{{- end }}

View File

@ -1,16 +1,8 @@
{{ if lookPath "brew" -}}
# vi: ft=bash
if command -v brew &> /dev/null; then
if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then
. "$(brew --prefix)/share/bash-completion/bash_completion"
fi
fi
if command -v kubectl > /dev/null 2>&1; then
source <(kubectl completion bash)
fi
if command -v helm > /dev/null 2>&1; then
source <(helm completion bash)
fi
{{- end }}

View File

@ -0,0 +1,3 @@
{{ if lookPath "direnv" -}}
eval "$(direnv hook bash)"
{{- end }}

View File

@ -0,0 +1,3 @@
{{ if lookPath "erd" -}}
eval "$(erd --completions bash)"
{{- end }}

View File

@ -0,0 +1,6 @@
{{ if lookPath "helm" -}}
# vi: ft=bash
if command -v helm > /dev/null 2>&1; then
source <(helm completion bash)
fi
{{- end }}

View File

@ -0,0 +1,6 @@
{{ if lookPath "kubectl" -}}
# vi: ft=bash
if command -v kubectl > /dev/null 2>&1; then
source <(kubectl completion bash)
fi
{{- end }}

View File

@ -1,3 +1,4 @@
{{ if lookPath "rbenv" -}}
# shellcheck shell=bash
if [ "${RBENV_SHELL}" = "" ]; then
@ -5,10 +6,12 @@ if [ "${RBENV_SHELL}" = "" ]; then
eval "$(rbenv init -)"
fi
fi
{{ end }}
{{- if lookPath "rvm" -}}
if [[ -d "${HOME}/.rvm/bin" ]]; then
# shellcheck disable=SC2076
if [[ ! "${PATH}" =~ "${HOME}/.rvm/bin" ]]; then
export PATH="$PATH:$HOME/.rvm/bin"
fi
fi
{{- end }}

View File

@ -1,2 +1,4 @@
{{ if lookPath "starship" -}}
# vim: ft=bash
source <(starship init bash)
{{- end }}

View File

@ -1,2 +1,4 @@
{{ if eq .chezmoi.os "darwin" -}}
#shellcheck disable=SC2034
BASH_SILENCE_DEPRECATION_WARNING=1
{{- end }}

View File

@ -1,4 +1,6 @@
{{ if lookPath "helm" -}}
# vim: ft=sh
if command -v helm > /dev/null 2>&1; then
eval "$(helm completion fish)"
fi
{{- end }}

View File

@ -0,0 +1,3 @@
{{ if lookPath "erd" -}}
eval "$(erd --completions fish)"
{{- end }}

View File

@ -1,5 +1,7 @@
{{ if and .hellotech (lookPath "git") -}}
[url "git@github.com:HelloTech"]
insteadOf = https://github.com/HelloTech
email = buddy@hellotech.com
[init]
templateDir = ~/.config/git/template
{{- end }}

View File

@ -0,0 +1,6 @@
{{ if lookPath "git" -}}
[url "ssh://git@git.buddy.wtf:2022"]
insteadOf = https://git.buddy.wtf
[url "ssh://git@git.xbudex.com:2022"]
insteadOf = https://git.xbudex.com
{{- end }}

View File

@ -1,3 +1,4 @@
{{ if lookPath "git" -}}
[core]
editor = vim
excludesfile = ~/.config/git/ignore
@ -62,3 +63,4 @@
writeCommitGraph = true
[fetch]
prune = true
{{- end }}

View File

@ -1,3 +1,4 @@
{{ if lookPath "git" -}}
################################################################################
## This global gitignore file is assembled based the github gitignore project:
## https://github.com/github/gitignore
@ -32,4 +33,4 @@ Desktop.ini
# Compass/sass ignores
.sass-cache
{{- end }}

View File

@ -1,4 +1,6 @@
{{ if and .hellotech (lookPath "node") -}}
#!/usr/bin/env node
// vim: ft=javascript
const fs = require("fs");
const childProcess = require("child_process");
@ -48,3 +50,4 @@ main().catch(err => {
console.error(err);
process.exit(1);
});
{{- end }}

View File

@ -1,3 +1,4 @@
{{ if lookPath "i3" -}}
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
@ -152,3 +153,4 @@ bindsym $mod+Control+l resize grow width 1 px or 1 ppt
bar {
status_command i3status
}
{{- end }}

View File

@ -1,3 +1,4 @@
{{ if lookPath "i3status" -}}
# i3status configuration file.
# see "man i3status" for documentation.
@ -52,3 +53,4 @@ volume master {
mixer = "Master"
mixer_idx = 0
}
{{- end }}

View File

@ -0,0 +1,21 @@
background #171717
foreground #ded9ce
cursor #bbbbbb
selection_background #453a39
color0 #000000
color8 #313131
color1 #ff605a
color9 #f58b7f
color2 #b1e869
color10 #dcf88f
color3 #ead89c
color11 #eee5b2
color4 #5da9f6
color12 #a5c7ff
color5 #e86aff
color13 #ddaaff
color6 #82fff6
color14 #b6fff9
color7 #ded9ce
color15 #fefffe
selection_foreground #171717

View File

@ -0,0 +1,8 @@
# BEGIN_KITTY_THEME
# Wombat
include current-theme.conf
# END_KITTY_THEME
enable_audio_bell no
visual_bell_duration 0.0
cursor_shape block

View File

@ -1,3 +1,4 @@
{{ if lookPath "lf" -}}
set drawbox true
set hidden true
set icons true
@ -23,10 +24,11 @@ map , # find-prev (default ',')
map o open
cmd open ${{
cmd open ${{ "{{" }}
case $(file --mime-type "$f" --brief --dereference) in
text/*|application/json) $EDITOR "$f";;
video/*|image/*|application/pdf) xdg-open "$f";;
*) xdg-open "$f";;
esac
}}
{{ "}}" }}
{{- end }}

View File

@ -1,2 +1,4 @@
{{ if lookPath "node" -}}
prefix=${HOME}/.local
cache=${XDG_CACHE_HOME}/npm
{{- end }}

View File

@ -1,5 +1,7 @@
{{ if lookPath "bat" -}}
#shellcheck disable=SC2034
BAT_PAGER=never
BAT_STYLE=plain
BAT_THEME=zenburn
MANPAGER="sh -c 'col -bx | bat -l man -p'"
{{- end }}

View File

@ -0,0 +1,4 @@
{{ if eq .chezmoi.os "darwin" -}}
#shellcheck disable=SC2034
CLICOLOR=1
{{- end }}

View File

@ -1,3 +1,5 @@
{{ if .hellotech -}}
# shellcheck disable=SC2034
GOPRIVATE=github.com/HelloTech
PULUMI_SKIP_UPDATE_CHECK=true
{{- end }}

View File

@ -1,4 +1,6 @@
{{ if lookPath "node" -}}
# shellcheck shell=bash
#ft=sh
# shellcheck disable=SC2034
NPM_CONFIG_USERCONFIG="${XDG_CONFIG_HOME}/npm/npmrc"
{{- end }}

View File

@ -1,2 +1,4 @@
{{ if lookPath "rg" -}}
#shellcheck disable=SC2034
RIPGREP_CONFIG_PATH="${XDG_CONFIG_HOME}/ripgrep/config"
{{- end }}

View File

@ -1,3 +1,5 @@
{{ if or (lookPath "vim") (lookPath "nvim") -}}
# shellcheck disable=SC2016,SC2034
VIMINIT='source $XDG_CONFIG_HOME/vim/vimrc'
MYVIMRC='$XDG_CONFIG_HOME/vim/vimrc'
{{- end }}

View File

@ -1,3 +1,4 @@
{{ if lookPath "go" -}}
__APPS_GO_PATH=/usr/local/apps/golang/current/bin
if [ -d "${__APPS_GO_PATH}" ] && ! echo "${PATH}" | grep -q ${__APPS_GO_PATH} ; then
PATH="$__APPS_GO_PATH:${PATH}"
@ -7,3 +8,4 @@ unset __APPS_GO_PATH
if [ -d "${HOME}/go/bin" ] && ! echo "$PATH" | grep -q "${HOME}/go/bin" ; then
PATH="${PATH}:${HOME}/go/bin"
fi
{{- end }}

View File

@ -1,3 +1,4 @@
{{ if .hellotech -}}
#!/usr/bin/env bash
k8s_last_config () (
@ -22,3 +23,4 @@ _add_path "/usr/local/opt/mysql-client/bin"
_add_path "${HOME}/google-cloud-sdk/bin"
unset _add_path
{{- end }}

View File

@ -1,3 +1,4 @@
{{ if lookPath "rbenv" -}}
# shellcheck shell=sh
if [ "${RBENV_SHELL}" = "" ]; then
@ -5,7 +6,9 @@ if [ "${RBENV_SHELL}" = "" ]; then
eval "$(rbenv init -)"
fi
fi
{{- end }}
{{ if lookPath "rvm" -}}
if [ -d "${HOME}/.rvm/bin" ]; then
case "${PATH}" in
*"$HOME/.rvm/bin"*) ;;
@ -20,3 +23,4 @@ if [ "$(ps -p $$ -ocomm=)" = sh ]; then
. "$HOME/.rvm/scripts/rvm"
fi
fi
{{- end }}

View File

@ -0,0 +1,7 @@
{{ if lookPath "cargo" -}}
#!/usr/bin/env bash
if [ -f "${HOME}/.cargo/env" ]; then
. "${HOME}/.cargo/env"
fi
{{- end }}

View File

@ -0,0 +1,3 @@
{{ if lookPath "rg" -}}
--colors=line:fg:black
{{- end }}

View File

@ -1,3 +1,4 @@
{{ if lookPath "starship" -}}
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
@ -62,3 +63,4 @@ format = "[$duration]($style) "
[character]
success_symbol = "λ"
error_symbol = "[☠](red)"
{{- end }}

View File

@ -1,3 +1,4 @@
{{ if and (lookPath "tmux") (eq .chezmoi.os "darwin") -}}
#!/usr/bin/env bash
if [ "$(uname -s)" == "Darwin" ]; then
@ -6,3 +7,4 @@ fi
tmux set default-terminal "tmux-256color"
tmux set terminal-overrides ",xterm-256color:Tc"
{{- end }}

Some files were not shown because too many files have changed in this diff Show More