diff --git a/.chezmoitemplates/dot_gitconfig_linux.tmpl b/.chezmoitemplates/dot_gitconfig_linux.tmpl index 78fb25d..ab5cd12 100644 --- a/.chezmoitemplates/dot_gitconfig_linux.tmpl +++ b/.chezmoitemplates/dot_gitconfig_linux.tmpl @@ -8,3 +8,6 @@ signingkey = {{ .git.default.publicKey }} name = {{ .git.default.name }} email = {{ .git.default.email }} +[credential] + helper = cache --timeout 21600 + helper = oauth diff --git a/README.md b/README.md index 7ec08c7..8505e6d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Current system: - [x] Windows 11 - [x] Alma Linux 9 (WSL2) -- [ ] Arch Linux +- [x] Arch Linux - [ ] Fedora - [ ] Ubuntu diff --git a/dot_config/code-flags.conf b/dot_config/code-flags.conf new file mode 100644 index 0000000..51bdd86 --- /dev/null +++ b/dot_config/code-flags.conf @@ -0,0 +1,2 @@ +--enable-features=UseOzonePlatform +--ozone-platform=wayland diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 1a4f303..789e636 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -70,6 +70,7 @@ path+=("$HOME"'/.cargo/bin') path+=('/user/local/bin') # export to sub-processes (make it inherited by child processes) export PATH +export GOPATH=$HOME/.go # fpath if [[ -d "/home/linuxbrew/.linuxbrew/share/zsh/site-functions" ]]; then @@ -87,6 +88,15 @@ if command -v brew &> /dev/null; then source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh fi +# arch linux zsh extensions +if [[ -e "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" ]]; then + source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh +fi +if [[ -e "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]]; then + source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +fi + + # micromamba if command -v micromamba &> /dev/null; then export MAMBA_EXE=$(which micromamba); @@ -208,5 +218,6 @@ alias i='ya ~/i' alias ssh="ssh.exe" {{- else -}} # linux spec config +export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock {{- end -}} {{- end}}