mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-14 21:56:47 +02:00
add zed config/ add linux ssh/git config
This commit is contained in:
parent
410484752c
commit
2a34219c63
8 changed files with 1514 additions and 5 deletions
|
@ -0,0 +1,10 @@
|
|||
[gpg]
|
||||
format = ssh
|
||||
[gpg "ssh"]
|
||||
program = "/opt/1Password/op-ssh-sign"
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[user]
|
||||
signingkey = {{ .git.default.publicKey }}
|
||||
name = {{ .git.default.name }}
|
||||
email = {{ .git.default.email }}
|
2
.chezmoitemplates/dot_sshconfig_linux.tmpl
Normal file
2
.chezmoitemplates/dot_sshconfig_linux.tmpl
Normal file
|
@ -0,0 +1,2 @@
|
|||
Host *
|
||||
IdentityAgent ~/.1password/agent.sock
|
1
.chezmoitemplates/dot_sshconfig_windows.tmpl
Normal file
1
.chezmoitemplates/dot_sshconfig_windows.tmpl
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
.chezmoitemplates/dot_sshconfig_wsl.tmpl
Normal file
1
.chezmoitemplates/dot_sshconfig_wsl.tmpl
Normal file
|
@ -0,0 +1 @@
|
|||
|
10
dot_config/zed/settings.json
Normal file
10
dot_config/zed/settings.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"ui_font_size": 16,
|
||||
"buffer_font_size": 16,
|
||||
"buffer_font_family": "FiraCode Nerd Font Mono",
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"light": "Vitesse Light Soft",
|
||||
"dark": "Vitesse Dark Soft"
|
||||
}
|
||||
}
|
1472
dot_config/zed/themes/Vitesse.json
Normal file
1472
dot_config/zed/themes/Vitesse.json
Normal file
File diff suppressed because it is too large
Load diff
9
dot_ssh/config.tmpl
Normal file
9
dot_ssh/config.tmpl
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{- if eq .chezmoi.os "windows" -}}
|
||||
{{- template "dot_sshconfig_windows.tmpl" . -}}
|
||||
{{- else if eq .chezmoi.os "linux" -}}
|
||||
{{- if (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}}
|
||||
{{- template "dot_sshconfig_wsl.tmpl" . -}}
|
||||
{{- else -}}
|
||||
{{- template "dot_sshconfig_linux.tmpl" . -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
|
@ -78,10 +78,14 @@ fi
|
|||
|
||||
|
||||
# homebrew config
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
if [[ -d "/home/linuxbrew/.linuxbrew/bin/brew" ]]; then
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
fi
|
||||
|
||||
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
if command -v brew &> /dev/null; then
|
||||
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
fi
|
||||
|
||||
# micromamba
|
||||
if command -v micromamba &> /dev/null; then
|
||||
|
@ -142,9 +146,9 @@ if command -v pyenv &> /dev/null; then
|
|||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
||||
# nix config
|
||||
# nix config
|
||||
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
|
||||
. $HOME/.nix-profile/etc/profile.d/nix.sh;
|
||||
. $HOME/.nix-profile/etc/profile.d/nix.sh;
|
||||
fi
|
||||
|
||||
# editors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue