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]
|
[user]
|
||||||
name = Your Name
|
name = Julian Prester
|
||||||
email = your.email@example.com
|
email = hi@julianprester.com
|
||||||
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... your-public-key-comment
|
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO14cVPAkygA4OIMmQ1PiBBQ9mQ+nY5n7XKJA0jD9ZOl github@julianprester.com
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
[credential "https://git.julianprester.com"]
|
[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 ----
|
# ---- Oh My Zsh ----
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
ZSH_THEME="powerlevel10k/powerlevel10zsh"
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||||
|
|
||||||
# ---- Plugins ----
|
# ---- Plugins ----
|
||||||
plugins=(git zsh-autosuggestions)
|
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]
|
[Unit]
|
||||||
Description=Load Bitwarden SSH keys into ssh-agent
|
Description=Load Bitwarden SSH keys into ssh-agent
|
||||||
After=network-online.target
|
After=graphical-session.target
|
||||||
Wants=network-online.target
|
Wants=graphical-session.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin
|
||||||
ExecStart=%h/.local/bin/bw-load-ssh.sh
|
ExecStart=%h/.local/bin/bw-load-ssh.sh
|
||||||
|
RemainAfterExit=yes
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user