mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-14 21:56:47 +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 }}
|
||||
name = {{ .git.default.name }}
|
||||
email = {{ .git.default.email }}
|
||||
[credential]
|
||||
helper = cache --timeout 21600
|
||||
helper = oauth
|
||||
|
|
|
@ -4,7 +4,7 @@ Current system:
|
|||
|
||||
- [x] Windows 11
|
||||
- [x] Alma Linux 9 (WSL2)
|
||||
- [ ] Arch Linux
|
||||
- [x] Arch Linux
|
||||
- [ ] Fedora
|
||||
- [ ] 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')
|
||||
# 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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue