Set personal git identity, fix zshrc theme, improve bw-ssh service
- config/git/gitconfig: real name, email, and SSH signing key - config/shell/zshrc: fix typo 'powerlevel10zsh' → 'powerlevel10k' - config/systemd/bw-ssh-keys.service: depend on graphical-session instead of network (ssh-agent starts with session); add explicit PATH so bw and jq are found; add RemainAfterExit=yes (avoids restart loop on oneshot services)
This commit is contained in:
6
config/git/gitconfig
Normal file → Executable file
6
config/git/gitconfig
Normal file → Executable file
@@ -1,7 +1,7 @@
|
||||
[user]
|
||||
name = Your Name
|
||||
email = your.email@example.com
|
||||
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... your-public-key-comment
|
||||
name = Julian Prester
|
||||
email = hi@julianprester.com
|
||||
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO14cVPAkygA4OIMmQ1PiBBQ9mQ+nY5n7XKJA0jD9ZOl github@julianprester.com
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[credential "https://git.julianprester.com"]
|
||||
|
||||
2
config/shell/zshrc
Normal file → Executable file
2
config/shell/zshrc
Normal file → Executable file
@@ -24,7 +24,7 @@ export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||
|
||||
# ---- Oh My Zsh ----
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
ZSH_THEME="powerlevel10k/powerlevel10zsh"
|
||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||
|
||||
# ---- Plugins ----
|
||||
plugins=(git zsh-autosuggestions)
|
||||
|
||||
6
config/systemd/bw-ssh-keys.service
Normal file → Executable file
6
config/systemd/bw-ssh-keys.service
Normal file → Executable file
@@ -1,11 +1,13 @@
|
||||
[Unit]
|
||||
Description=Load Bitwarden SSH keys into ssh-agent
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
After=graphical-session.target
|
||||
Wants=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin
|
||||
ExecStart=%h/.local/bin/bw-load-ssh.sh
|
||||
RemainAfterExit=yes
|
||||
Restart=on-failure
|
||||
RestartSec=30
|
||||
|
||||
|
||||
Reference in New Issue
Block a user