Compare commits

..

No commits in common. "1725a711e86e5e0bf9f24dce404c0a2ef9a853f1" and "73d1f5fb49eb423210ad8b37e8b9a058d4839bc7" have entirely different histories.

235 changed files with 86 additions and 233 deletions

View File

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

View File

@ -0,0 +1,15 @@
# 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

@ -0,0 +1 @@
en_US

View File

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

View File

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

View File

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

View File

@ -0,0 +1,15 @@
# 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,4 +1,3 @@
{{ if lookPath "jq" -}}
def reset: "\u001b[0m";
def black: "\u001b[30m";
def white: "\u001b[97m";
@ -8,4 +7,3 @@ def green: "\u001b[32m";
def yellow: "\u001b[33m";
def red: "\u001b[31m";
def magenta: "\u001b[35m";
{{- end }}

View File

@ -1,4 +1,3 @@
{{ if lookPath "jq" -}}
def browser: env.BROWSER;
def editor: env.EDITOR;
def home: env.HOME;
@ -13,4 +12,3 @@ def config: env.XDG_CONFIG_HOME;
def data: env.XDG_DATA_HOME;
def runtime: env.XDG_RUNTIME_DIR;
def state: env.XDG_STATE_HOME;
{{- end }}

View File

@ -1,4 +1,3 @@
{{ if lookPath "jq" -}}
def by_time: sort_by(.created_at) | reverse;
def asset($os; $arch):
@ -26,4 +25,4 @@ assets
] | join("\n")
)
";
{{- end }}

View File

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

View File

@ -1,7 +1,5 @@
{{ 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

@ -1,5 +1,3 @@
{{ if lookPath "bat" -}}
if command -v bat &> /dev/null ; then
alias cat=bat
fi
{{- end }}

View File

@ -16,7 +16,7 @@ function get_os () (
APP=deno
VERSION=${VERSION:-1.34.0}
VERSION=${VERSION:-1.33.1}
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
URL=https://github.com/denoland/deno/releases/download/v${VERSION}/deno-$(uname -m)-$(get_os).zip

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +0,0 @@
{{ 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 +0,0 @@
{{ if lookPath "erd" -}}
eval "$(erd --completions fish)"
{{- end }}

View File

@ -1,6 +0,0 @@
{{ 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,21 +0,0 @@
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

@ -1,8 +0,0 @@
# 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,4 +0,0 @@
{{ if eq .chezmoi.os "darwin" -}}
#shellcheck disable=SC2034
CLICOLOR=1
{{- end }}

View File

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

View File

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

View File

@ -1,29 +0,0 @@
{{- if or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin") -}}
# 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.
{{ if eq .chezmoi.os "linux" -}}
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
{{- else if eq .chezmoi.os "darwin" -}}
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
{{- end -}}
{{- end }}

View File

@ -1,3 +0,0 @@
{{ if eq .chezmoi.os "linux" -}}
en_US
{{- end }}

View File

@ -1,3 +0,0 @@
{{ if lookPath "rustc" -}}
let g:rustfmt_autosave = 1
{{- end }}

View File

@ -1,3 +0,0 @@
{{ if lookPath "go" -}}
Plug 'fatih/vim-go'
{{- end }}

View File

@ -1,3 +0,0 @@
{{ if lookPath "dircolors" -}}
eval "$(dircolors -b)"
{{- end }}

View File

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

View File

@ -1,11 +0,0 @@
{{ if lookPath "helm" -}}
# shellcheck disable=SC2148,SC1090
autoload -U +X compinit && compinit
if command -v helm > /dev/null 2>&1 ; then
source <(helm completion zsh)
fi
# vim: ft=bash
{{- end }}

View File

@ -0,0 +1 @@
eval "$(erd --completions bash)"

View File

@ -0,0 +1,5 @@
--icons
--hidden
--dirs-first
--human
--no-git

View File

@ -0,0 +1 @@
eval "$(erd --completions fish)"

View File

@ -1,6 +1,4 @@
{{ if lookPath "erd" -}}
autoload -Uz compinit
compinit
eval "$(erd --completions zsh)"
{{- end }}

View File

@ -1,7 +1,5 @@
{{ if lookPath "fzf" -}}
Plug 'junegunn/fzf', { 'tag': '0.40.0' }
Plug 'junegunn/fzf.vim'
map <leader>fz :GFiles<CR>
map <leader>rg :Rg<CR>
{{- end }}

View File

@ -0,0 +1,2 @@
[url "ssh://git@git.buddy.wtf:2022"]
insteadOf = https://git.buddy.wtf

View File

@ -0,0 +1,2 @@
[url "ssh://git@git.xbudex.com:2022"]
insteadOf = https://git.xbudex.com

View File

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

View File

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

View File

@ -1,4 +1,3 @@
{{ 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}"
@ -8,4 +7,3 @@ 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,4 +1,3 @@
{{ if lookPath "go" -}}
set noexpandtab
" use goimports for formatting
@ -14,4 +13,3 @@ let g:go_highlight_build_constraints = 1
" Open go doc in vertical window, horizontal, or tab
nnoremap <leader>d :GoDef<CR>
nnoremap <leader>t :GoDefType<CR>
{{- end }}

View File

@ -0,0 +1 @@
Plug 'fatih/vim-go'

View File

@ -1,4 +1,3 @@
{{ if lookPath "go" -}}
snippet ignore "ignore function" !
func(...any) {}(${1})
endsnippet
@ -44,4 +43,3 @@ func Test${1}(t *testing.T) {
}
}
endsnippet
{{- end }}

View File

@ -1,8 +1,16 @@
{{ 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
{{- end }}
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

View File

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

View File

@ -1,7 +1,5 @@
{{ 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

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
{{ if lookPath "kubectl" -}}
# shellcheck disable=SC2148,SC1090
autoload -U +X compinit && compinit
@ -7,5 +6,8 @@ if command -v kubectl > /dev/null 2>&1; then
source <(kubectl completion zsh)
fi
if command -v helm > /dev/null 2>&1 ; then
source <(helm completion zsh)
fi
# vim: ft=bash
{{- end }}

View File

@ -1,4 +1,3 @@
{{ if and .hellotech (lookPath "jq") -}}
import "colors" as colors;
def clean_multierror:
@ -76,4 +75,3 @@ def show:
"\n" + colors::red + "ERROR" + colors::reset + ": " + _show_error
else "" end
) + colors::reset;
{{- end }}

View File

@ -1,4 +1,3 @@
{{ 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.
#
@ -153,4 +152,3 @@ bindsym $mod+Control+l resize grow width 1 px or 1 ppt
bar {
status_command i3status
}
{{- end }}

View File

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

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