mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-15 06:02:53 +02:00
update zsh and others
This commit is contained in:
parent
e2a94521cc
commit
84cdd7dec4
4 changed files with 17 additions and 1 deletions
|
@ -8,3 +8,6 @@
|
||||||
signingkey = {{ .git.default.publicKey }}
|
signingkey = {{ .git.default.publicKey }}
|
||||||
name = {{ .git.default.name }}
|
name = {{ .git.default.name }}
|
||||||
email = {{ .git.default.email }}
|
email = {{ .git.default.email }}
|
||||||
|
[credential]
|
||||||
|
helper = cache --timeout 21600
|
||||||
|
helper = oauth
|
||||||
|
|
|
@ -4,7 +4,7 @@ Current system:
|
||||||
|
|
||||||
- [x] Windows 11
|
- [x] Windows 11
|
||||||
- [x] Alma Linux 9 (WSL2)
|
- [x] Alma Linux 9 (WSL2)
|
||||||
- [ ] Arch Linux
|
- [x] Arch Linux
|
||||||
- [ ] Fedora
|
- [ ] Fedora
|
||||||
- [ ] Ubuntu
|
- [ ] Ubuntu
|
||||||
|
|
||||||
|
|
2
dot_config/code-flags.conf
Normal file
2
dot_config/code-flags.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
--enable-features=UseOzonePlatform
|
||||||
|
--ozone-platform=wayland
|
|
@ -70,6 +70,7 @@ path+=("$HOME"'/.cargo/bin')
|
||||||
path+=('/user/local/bin')
|
path+=('/user/local/bin')
|
||||||
# export to sub-processes (make it inherited by child processes)
|
# export to sub-processes (make it inherited by child processes)
|
||||||
export PATH
|
export PATH
|
||||||
|
export GOPATH=$HOME/.go
|
||||||
|
|
||||||
# fpath
|
# fpath
|
||||||
if [[ -d "/home/linuxbrew/.linuxbrew/share/zsh/site-functions" ]]; then
|
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
|
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
fi
|
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
|
# micromamba
|
||||||
if command -v micromamba &> /dev/null; then
|
if command -v micromamba &> /dev/null; then
|
||||||
export MAMBA_EXE=$(which micromamba);
|
export MAMBA_EXE=$(which micromamba);
|
||||||
|
@ -208,5 +218,6 @@ alias i='ya ~/i'
|
||||||
alias ssh="ssh.exe"
|
alias ssh="ssh.exe"
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
# linux spec config
|
# linux spec config
|
||||||
|
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue