Compare commits
No commits in common. "1725a711e86e5e0bf9f24dce404c0a2ef9a853f1" and "73d1f5fb49eb423210ad8b37e8b9a058d4839bc7" have entirely different histories.
1725a711e8
...
73d1f5fb49
@ -1,2 +0,0 @@
|
||||
/hellotech/
|
||||
/README.md
|
||||
15
base-linux/.config/user-dirs.dirs
Normal file
15
base-linux/.config/user-dirs.dirs
Normal 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"
|
||||
1
base-linux/.config/user-dirs.locale
Normal file
1
base-linux/.config/user-dirs.locale
Normal file
@ -0,0 +1 @@
|
||||
en_US
|
||||
1
base-linux/.config/zsh/zshrc.d/base-linux.zsh
Normal file
1
base-linux/.config/zsh/zshrc.d/base-linux.zsh
Normal file
@ -0,0 +1 @@
|
||||
eval "$(dircolors -b)"
|
||||
@ -1,4 +1,2 @@
|
||||
{{ if eq .chezmoi.os "darwin" -}}
|
||||
#shellcheck disable=SC2034
|
||||
BASH_SILENCE_DEPRECATION_WARNING=1
|
||||
{{- end }}
|
||||
2
base-osx/.config/profile/env.d/base-osx.env
Normal file
2
base-osx/.config/profile/env.d/base-osx.env
Normal file
@ -0,0 +1,2 @@
|
||||
#shellcheck disable=SC2034
|
||||
CLICOLOR=1
|
||||
15
base-osx/.config/user-dirs.dirs
Normal file
15
base-osx/.config/user-dirs.dirs
Normal 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"
|
||||
@ -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 }}
|
||||
@ -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 }}
|
||||
@ -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 }}
|
||||
|
||||
@ -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 }}
|
||||
@ -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 }}
|
||||
@ -1,5 +1,3 @@
|
||||
{{ if lookPath "bat" -}}
|
||||
if command -v bat &> /dev/null ; then
|
||||
alias cat=bat
|
||||
fi
|
||||
{{- end }}
|
||||
@ -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
|
||||
|
||||
1
direnv/.config/bash/bashrc.d/direnv.sh
Normal file
1
direnv/.config/bash/bashrc.d/direnv.sh
Normal file
@ -0,0 +1 @@
|
||||
eval "$(direnv hook bash)"
|
||||
1
direnv/.config/zsh/zshrc.d/direnv.zsh
Normal file
1
direnv/.config/zsh/zshrc.d/direnv.zsh
Normal file
@ -0,0 +1 @@
|
||||
eval "$(direnv hook zsh)"
|
||||
@ -1,3 +0,0 @@
|
||||
{{ if lookPath "direnv" -}}
|
||||
eval "$(direnv hook bash)"
|
||||
{{- end }}
|
||||
@ -1,3 +0,0 @@
|
||||
{{ if lookPath "erd" -}}
|
||||
eval "$(erd --completions bash)"
|
||||
{{- end }}
|
||||
@ -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 }}
|
||||
@ -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 }}
|
||||
@ -1,3 +0,0 @@
|
||||
{{ if lookPath "erd" -}}
|
||||
eval "$(erd --completions fish)"
|
||||
{{- end }}
|
||||
@ -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 }}
|
||||
@ -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
|
||||
@ -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
|
||||
@ -1,4 +0,0 @@
|
||||
{{ if eq .chezmoi.os "darwin" -}}
|
||||
#shellcheck disable=SC2034
|
||||
CLICOLOR=1
|
||||
{{- end }}
|
||||
@ -1,7 +0,0 @@
|
||||
{{ if lookPath "cargo" -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -f "${HOME}/.cargo/env" ]; then
|
||||
. "${HOME}/.cargo/env"
|
||||
fi
|
||||
{{- end }}
|
||||
@ -1,3 +0,0 @@
|
||||
{{ if lookPath "rg" -}}
|
||||
--colors=line:fg:black
|
||||
{{- end }}
|
||||
@ -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 }}
|
||||
@ -1,3 +0,0 @@
|
||||
{{ if eq .chezmoi.os "linux" -}}
|
||||
en_US
|
||||
{{- end }}
|
||||
@ -1,3 +0,0 @@
|
||||
{{ if lookPath "rustc" -}}
|
||||
let g:rustfmt_autosave = 1
|
||||
{{- end }}
|
||||
@ -1,3 +0,0 @@
|
||||
{{ if lookPath "go" -}}
|
||||
Plug 'fatih/vim-go'
|
||||
{{- end }}
|
||||
@ -1,3 +0,0 @@
|
||||
{{ if lookPath "dircolors" -}}
|
||||
eval "$(dircolors -b)"
|
||||
{{- end }}
|
||||
@ -1,3 +0,0 @@
|
||||
{{ if lookPath "direnv" -}}
|
||||
eval "$(direnv hook zsh)"
|
||||
{{- end }}
|
||||
@ -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 }}
|
||||
1
erdtree/.config/bash/bashrc.d/erdtree.sh
Normal file
1
erdtree/.config/bash/bashrc.d/erdtree.sh
Normal file
@ -0,0 +1 @@
|
||||
eval "$(erd --completions bash)"
|
||||
5
erdtree/.config/erdtree/.erdtreerc
Normal file
5
erdtree/.config/erdtree/.erdtreerc
Normal file
@ -0,0 +1,5 @@
|
||||
--icons
|
||||
--hidden
|
||||
--dirs-first
|
||||
--human
|
||||
--no-git
|
||||
1
erdtree/.config/fish/conf.d/erdtree.fish
Normal file
1
erdtree/.config/fish/conf.d/erdtree.fish
Normal file
@ -0,0 +1 @@
|
||||
eval "$(erd --completions fish)"
|
||||
@ -1,6 +1,4 @@
|
||||
{{ if lookPath "erd" -}}
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
|
||||
eval "$(erd --completions zsh)"
|
||||
{{- end }}
|
||||
@ -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 }}
|
||||
2
git-personal/.config/git/config-git.buddy.wtf
Normal file
2
git-personal/.config/git/config-git.buddy.wtf
Normal file
@ -0,0 +1,2 @@
|
||||
[url "ssh://git@git.buddy.wtf:2022"]
|
||||
insteadOf = https://git.buddy.wtf
|
||||
2
git-personal/.config/git/config-git.xbudex.com
Normal file
2
git-personal/.config/git/config-git.xbudex.com
Normal file
@ -0,0 +1,2 @@
|
||||
[url "ssh://git@git.xbudex.com:2022"]
|
||||
insteadOf = https://git.xbudex.com
|
||||
@ -1,4 +1,3 @@
|
||||
{{ if lookPath "git" -}}
|
||||
[core]
|
||||
editor = vim
|
||||
excludesfile = ~/.config/git/ignore
|
||||
@ -63,4 +62,3 @@
|
||||
writeCommitGraph = true
|
||||
[fetch]
|
||||
prune = true
|
||||
{{- end }}
|
||||
@ -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 }}
|
||||
|
||||
@ -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 }}
|
||||
@ -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 }}
|
||||
1
go/.config/vim/plug.d/go.vim
Normal file
1
go/.config/vim/plug.d/go.vim
Normal file
@ -0,0 +1 @@
|
||||
Plug 'fatih/vim-go'
|
||||
@ -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 }}
|
||||
@ -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
|
||||
|
||||
@ -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 }}
|
||||
@ -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 }}
|
||||
3
dot_config/git/template/hooks/executable_prepare-commit-msg.tmpl → hellotech/.config/git/template/hooks/prepare-commit-msg
Normal file → Executable file
3
dot_config/git/template/hooks/executable_prepare-commit-msg.tmpl → hellotech/.config/git/template/hooks/prepare-commit-msg
Normal file → Executable 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 }}
|
||||
@ -1,5 +1,3 @@
|
||||
{{ if .hellotech -}}
|
||||
# shellcheck disable=SC2034
|
||||
GOPRIVATE=github.com/HelloTech
|
||||
PULUMI_SKIP_UPDATE_CHECK=true
|
||||
{{- end }}
|
||||
@ -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 }}
|
||||
@ -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 }}
|
||||
@ -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 }}
|
||||
@ -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 }}
|
||||
@ -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
Loading…
Reference in New Issue
Block a user