Update dotfiles/.local/share/chezmoi/private_dot_config/wget/wgetrc, dotfiles/.local/share/chezmoi/private_dot_config/bat/config, dotfiles/.local/share/chezmoi/private_dot_config/brew/Brewfile.tmpl, dotfiles/.local/share/chezmoi/private_dot_config/brew/whalebrew, dotfiles/.local/share/chezmoi/private_dot_config/tmux/.gitkeep, dotfiles/.local/share/chezmoi/dot_ssh/private_config.tmpl, dotfiles/.local/share/chezmoi/.chezmoiexternal.toml, dotfiles/.local/share/chezmoi/.chezmoidata.yaml
This commit is contained in:
parent
ea34757c63
commit
b0e9429708
8 changed files with 110 additions and 26 deletions
|
@ -75,3 +75,32 @@ postinstall:
|
||||||
volta: |
|
volta: |
|
||||||
volta setup
|
volta setup
|
||||||
volta install node@latest
|
volta install node@latest
|
||||||
|
|
||||||
|
plugins:
|
||||||
|
vim:
|
||||||
|
- https://github.com/dense-analysis/ale.git
|
||||||
|
- https://github.com/pearofducks/ansible-vim.git
|
||||||
|
- https://github.com/neoclide/coc.nvim.git
|
||||||
|
- https://github.com/ekalinin/dockerfile.vim.git
|
||||||
|
- https://github.com/editorconfig/editorconfig-vim.git
|
||||||
|
- https://github.com/junegunn/fzf.git
|
||||||
|
- https://github.com/junegunn/fzf.vim.git
|
||||||
|
- https://github.com/itchyny/lightline.vim.git
|
||||||
|
- https://github.com/scrooloose/nerdtree.git
|
||||||
|
- https://github.com/stanangeloff/php.vim.git
|
||||||
|
- https://github.com/hdima/python-syntax.git
|
||||||
|
- https://github.com/vim-syntastic/syntastic.git
|
||||||
|
- https://github.com/vim-airline/vim-airline.git
|
||||||
|
- https://github.com/kristijanhusak/vim-carbon-now-sh.git
|
||||||
|
- https://github.com/ryanoasis/vim-devicons.git
|
||||||
|
- https://github.com/tpope/vim-fugitive.git
|
||||||
|
- https://github.com/airblade/vim-gitgutter.git
|
||||||
|
- https://github.com/fatih/vim-go.git
|
||||||
|
- https://github.com/pangloss/vim-javascript.git
|
||||||
|
- https://github.com/mxw/vim-jsx.git
|
||||||
|
- https://github.com/plasticboy/vim-markdown.git
|
||||||
|
- https://github.com/terryma/vim-multiple-cursors.git
|
||||||
|
- https://github.com/prettier/vim-prettier.git
|
||||||
|
- https://github.com/tpope/vim-sensible.git
|
||||||
|
- https://github.com/tpope/vim-surround.git
|
||||||
|
- https://github.com/nanotee/zoxide.vim.git
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
|
{{- $refreshPeriod := "140h" }}
|
||||||
|
{{-}}
|
||||||
[".vim/plugged/ale"]
|
[".vim/plugged/ale"]
|
||||||
type = "git-repo"
|
type = "git-repo"
|
||||||
url = "https://github.com/dense-analysis/ale.git"
|
url = "https://github.com/dense-analysis/ale.git"
|
||||||
refreshPeriod = "140h"
|
refreshPeriod = "{{ $refreshPeriod }}"
|
||||||
[".vim/plugged/ale".pull]
|
[".vim/plugged/ale".pull]
|
||||||
args = ["--ff-only"]
|
args = ["--ff-only"]
|
||||||
[".vim/plugged/ale"]
|
[".vim/plugged/ale"]
|
||||||
|
@ -29,30 +31,62 @@
|
||||||
[".vim/plugged/ale".pull]
|
[".vim/plugged/ale".pull]
|
||||||
args = ["--ff-only"]
|
args = ["--ff-only"]
|
||||||
|
|
||||||
|
### Hack Nerd Font Download
|
||||||
|
{{- if not .host.headless }}
|
||||||
|
|
||||||
|
{{- $fontDir := "" }}
|
||||||
|
{{- $fontUrlBase := "https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/Hack"}}
|
||||||
|
{{- if eq .host.distro.family "darwin" }}
|
||||||
|
{{- $fontDir = "Library/Fonts" }}
|
||||||
|
{{- else if eq .host.distro.family "linux" }}
|
||||||
|
{{- $fontDir = ".local/share/fonts" }}
|
||||||
|
{{- else if eq .host.distro.family "windows" }}
|
||||||
|
{{- $fontDir = "Windows/Fonts" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
https://github.com/pearofducks/ansible-vim.git
|
["{{ $fontDir }}/Hack-Regular-Nerd-Font.ttf"]
|
||||||
https://github.com/neoclide/coc.nvim.git
|
type = "file"
|
||||||
https://github.com/ekalinin/dockerfile.vim.git
|
{{- if eq .host.distro.family "windows" }}
|
||||||
https://github.com/editorconfig/editorconfig-vim.git
|
url = "{{ $fontUrlBase }}/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete%20Windows%20Compatible.ttf"
|
||||||
https://github.com/junegunn/fzf.git
|
{{- else }}
|
||||||
https://github.com/junegunn/fzf.vim.git
|
url = "{{ $fontUrlBase }}/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete.ttf"
|
||||||
https://github.com/itchyny/lightline.vim.git
|
{{- end }}
|
||||||
https://github.com/scrooloose/nerdtree.git
|
refreshPeriod = "{{ $refreshPeriod }}"
|
||||||
https://github.com/stanangeloff/php.vim.git
|
|
||||||
https://github.com/hdima/python-syntax.git
|
["{{ $fontDir }}/Hack-Bold-Nerd-Font.ttf"]
|
||||||
https://github.com/vim-syntastic/syntastic.git
|
type = "file"
|
||||||
https://github.com/vim-airline/vim-airline.git
|
{{- if eq .host.distro.family "windows" }}
|
||||||
https://github.com/kristijanhusak/vim-carbon-now-sh.git
|
url = "{{ $fontUrlBase }}/Bold/complete/Hack%20Bold%20Nerd%20Font%20Complete%20Windows%20Compatible.ttf"
|
||||||
https://github.com/ryanoasis/vim-devicons.git
|
{{- else }}
|
||||||
https://github.com/tpope/vim-fugitive.git
|
url = "{{ $fontUrlBase }}/Bold/complete/Hack%20Bold%20Nerd%20Font%20Complete.ttf"
|
||||||
https://github.com/airblade/vim-gitgutter.git
|
{{- end }}
|
||||||
https://github.com/fatih/vim-go.git
|
refreshPeriod = "{{ $refreshPeriod }}"
|
||||||
https://github.com/pangloss/vim-javascript.git
|
|
||||||
https://github.com/mxw/vim-jsx.git
|
["{{ $fontDir }}/Hack-Italic-Nerd-Font.ttf"]
|
||||||
https://github.com/plasticboy/vim-markdown.git
|
type = "file"
|
||||||
https://github.com/terryma/vim-multiple-cursors.git
|
{{- if eq .host.distro.family "windows" }}
|
||||||
https://github.com/prettier/vim-prettier.git
|
url = "{{ $fontUrlBase }}/Italic/complete/Hack%20Italic%20Nerd%20Font%20Complete%20Windows%20Compatible.ttf"
|
||||||
https://github.com/tpope/vim-sensible.git
|
{{- else }}
|
||||||
https://github.com/tpope/vim-surround.git
|
url = "{{ $fontUrlBase }}/Italic/complete/Hack%20Italic%20Nerd%20Font%20Complete.ttf"
|
||||||
https://github.com/nanotee/zoxide.vim.git
|
{{- end }}
|
||||||
|
refreshPeriod = "{{ $refreshPeriod }}"
|
||||||
|
|
||||||
|
["{{ $fontDir }}/Hack-Bold-Italic-Nerd-Font.ttf"]
|
||||||
|
type = "file"
|
||||||
|
{{- if eq .host.distro.family "windows" }}
|
||||||
|
url = "{{ $fontUrlBase }}/BoldItalic/complete/Hack%20Bold%20Italic%20Nerd%20Font%20Complete%20Windows%20Compatible.ttf"
|
||||||
|
{{- else }}
|
||||||
|
url = "{{ $fontUrlBase }}/BoldItalic/complete/Hack%20Bold%20Italic%20Nerd%20Font%20Complete.ttf"
|
||||||
|
{{- end }}
|
||||||
|
refreshPeriod = "{{ $refreshPeriod }}"
|
||||||
|
|
||||||
|
### ZillaSlab Font Download
|
||||||
|
{{- $fontUrlBase := "https://github.com/typotheque/zilla-slab/raw/master/fonts_TTF"}}
|
||||||
|
{{- $fonts := list "ZillaSlab-Bold.ttf" "ZillaSlab-BoldItalic.ttf" "ZillaSlab-Italic.ttf" "ZillaSlab-Light.ttf" "ZillaSlab-LightItalic.ttf" "ZillaSlab-Medium.ttf" "ZillaSlab-MediumItalic.ttf" "ZillaSlab-Regular.ttf" "ZillaSlab-SemiBold.ttf" "ZillaSlab-SemiBoldItalic.ttf" "ZillaSlabHighlight-Bold.ttf" "ZillaSlabHighlight-Regular.ttf" }}
|
||||||
|
{{- range $font := $fonts }}
|
||||||
|
["{{ $fontDir }}/{{ $font }}"]
|
||||||
|
type = "file"
|
||||||
|
url = "{{ $fontUrlBase }}/{{ $font }}"
|
||||||
|
refreshPeriod = "{{ $refreshPeriod }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
21
dotfiles/.local/share/chezmoi/dot_ssh/private_config.tmpl
Normal file
21
dotfiles/.local/share/chezmoi/dot_ssh/private_config.tmpl
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
Host *+*
|
||||||
|
UserKnownHostsFile /dev/null
|
||||||
|
StrictHostKeyChecking=no
|
||||||
|
ProxyCommand ssh -v $(echo %h | sed -e 's/+[^+]*$//; s/\([^+=]*\)=\([^+]*\)$/\2 -l \1/; s/^\([^+:]*\):\([0-9]*\)+/-p \2 \1+/' ) -W $(echo %h | sed -e 's/^.*+//; s/:.*$//;'):$(echo %h | sed -e ' s/^.*+//; /:/!s/^.*/22/; s/^.*://' ;)
|
||||||
|
Host *
|
||||||
|
User {{ .user.login }}
|
||||||
|
Compression yes
|
||||||
|
GSSAPIAuthentication no
|
||||||
|
ServerAliveInterval 600
|
||||||
|
{{- if ne .host.distro.family "windows" }}
|
||||||
|
ControlMaster auto
|
||||||
|
ControlPath /tmp/ssh-%r@%h:%p
|
||||||
|
ControlPersist 5
|
||||||
|
{{- end }}
|
||||||
|
{{- if eq .host.distro.family "darwin" }}
|
||||||
|
AddKeysToAgent yes
|
||||||
|
UseKeychain yes
|
||||||
|
{{- end }}
|
||||||
|
ExitOnForwardFailure yes
|
||||||
|
ForwardAgent yes
|
||||||
|
ForwardX11 no
|
Loading…
Reference in a new issue