dotfiles/dot_config/fish/conf.d/30-systemctl.fish
punkfairie 91ce6c48d6
Update .config/fish/conf.d/10-starship.fish
Update .config/fish/conf.d/20-gpg.fish
Update .config/fish/conf.d/30-chezmoi.fish
Update .config/fish/conf.d/30-eza.fish
Update .config/fish/conf.d/30-fzf.fish
Update .config/fish/conf.d/30-git.fish
Update .config/fish/conf.d/30-go.fish
Update .config/fish/conf.d/30-journalctl.fish
Update .config/fish/conf.d/30-lazygit.fish
Update .config/fish/conf.d/30-less.fish
Update .config/fish/conf.d/30-php.fish
Remove .config/fish/conf.d/30-polybar.fish
Update .config/fish/conf.d/30-systemctl.fish
Update .config/fish/conf.d/30-volta.fish
Update .config/fish/conf.d/30-wget.fish
Update .config/fish/conf.d/30-yay.fish
Update .config/fish/conf.d/30-bitwarden.fish
Update .config/topgrade.d/01-commands.toml
2024-10-02 21:01:45 -07:00

11 lines
491 B
Fish

#!/usr/bin/env fish
if command -v systemctl &>/dev/null
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"
end