From c5cc7024623391aea057d2300bf900d5d5747a13 Mon Sep 17 00:00:00 2001 From: Erystasius Date: Thu, 2 Apr 2026 15:54:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20fish=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0=20systemd=20=E5=92=8C=20docker=20?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=91=BD=E4=BB=A4=E7=BC=A9=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dot_config/fish/config.fish | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish index f45bbf8..5e7adce 100644 --- a/dot_config/fish/config.fish +++ b/dot_config/fish/config.fish @@ -35,6 +35,14 @@ if status is-interactive type -q tmux; and abbr tmn 'tmux new' type -q tmux; and abbr tma 'tmux attach' type -q tmux; and abbr tml 'tmux list-sessions' + type -q docker; and abbr d docker + type -q docker-compose; and abbr dc 'docker-compose' + + # systemd 常用缩写 + type -q systemctl; and abbr sc systemctl + type -q systemctl; and abbr scu 'systemctl --user' + type -q journalctl; and abbr jc journalctl + type -q journalctl; and abbr jcu 'journalctl --user' # ========= thefuck:自动命令纠错 ========= type -q thefuck; and thefuck --alias | source