更新 fish 配置,添加 systemd 和 docker 相关命令缩写
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user