🧑 perf(fish): Add various system abbr's
This commit is contained in:
parent
a923679f40
commit
2dfacf571a
3 changed files with 20 additions and 0 deletions
4
.config/fish/conf.d/30-journalctl.fish
Normal file
4
.config/fish/conf.d/30-journalctl.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
abbr -a jf --position command "sudo journalctl --follow --unit"
|
||||
abbr -a je --position command "sudo journalctl --pager-end --unit"
|
9
.config/fish/conf.d/30-systemctl.fish
Normal file
9
.config/fish/conf.d/30-systemctl.fish
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
abbr -a sctl --position command "sudo systemctl"
|
||||
abbr -a sctls --position command "sudo systemctl status"
|
||||
abbr -a sctle --position command "sudo systemctl enable --now"
|
||||
abbr -a sctld --position command "sudo systemctl disable --now"
|
||||
abbr -a sctlr --position command "sudo systemctl restart"
|
||||
abbr -a sctlo --position command "sudo systemctl stop"
|
||||
abbr -a sctla --position command "sudo systemctl start"
|
7
.config/fish/conf.d/30-yay.fish
Normal file
7
.config/fish/conf.d/30-yay.fish
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
abbr -a y --position command yay
|
||||
abbr -a yi --position command "yay -S"
|
||||
abbr -a yr --position command "yay -R"
|
||||
abbr -a yc --position command "yay -Sc"
|
||||
abbr -a yu --position command "yay -Syu"
|
Loading…
Reference in a new issue