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