repos / dotfiles

my dotfiles

commit
982702e
parent
3737418
author
Eric Bower
date
2025-09-14 15:18:10 -0400 EDT
chore(fish): systemd abbr
1 files changed,  +18, -0
M dot_config/fish/config.fish
+18, -0
 1@@ -25,6 +25,10 @@ set -xg XDG_CONFIG_HOME ~/.config
 2 set -xg VDIRSYNCER_CONFIG ~/.config/vdirsyncer/config
 3 set -xg MDIR ~/mail
 4 
 5+function sysfzf
 6+  systemctl --user list-unit-files --no-legend | fzf | awk '{print $1}'
 7+end
 8+
 9 abbr -a pushall "git remote | xargs -I R git push R"
10 abbr -a scratch nvim ~/scratch.md
11 abbr -a rcp rsync -avzu --progress
12@@ -40,6 +44,20 @@ abbr -a adr "aider --model openai/ggml-org_Qwen3-Coder-30B-A3B-Instruct-Q8_0-GGU
13 abbr -a zmount zfs mount -a
14 abbr -a keys "keychain --eval --quiet --agents ssh,gpg ~/.ssh/id_ed25519 76D3FD02 | source"
15 abbr -a mdf uvx --with=mdformat-gfm --with=mdformat-frontmatter mdformat --wrap 80
16+abbr -a sm sudo systemctl
17+abbr -a smu systemctl --user
18+
19+function syst
20+  systemctl --user status -l --no-pager (sysfzf)
21+end
22+
23+function sysc
24+  systemctl --user cat --no-pager (sysfzf)
25+end
26+
27+function sysj
28+  journalctl --user -u (sysfzf)
29+end
30 
31 if type -q direnv
32   direnv hook fish | source