mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 14:54:23 +00:00
Add some more aliases
This commit is contained in:
parent
cb130473a8
commit
254ecfb7b5
6 changed files with 18 additions and 0 deletions
3
conf.d/rubygems.fish
Normal file
3
conf.d/rubygems.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
fish_add_path "/home/steffo/.local/share/gem/ruby/3.0.0/bin"
|
||||
fish_add_path "/home/steffo/.gem/ruby/3.0.0/bin"
|
||||
|
3
functions/sd+.fish
Normal file
3
functions/sd+.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function sd+ --wraps='systemctl start' --wraps='systemctl enable --now' --description 'alias sd+ systemctl enable --now'
|
||||
systemctl enable --now $argv;
|
||||
end
|
3
functions/sd-.fish
Normal file
3
functions/sd-.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function sd- --wraps='systemctl stop' --wraps='systemctl disable --now' --description 'alias sd- systemctl disable --now'
|
||||
systemctl disable --now $argv;
|
||||
end
|
3
functions/sdl.fish
Normal file
3
functions/sdl.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function sdl --wraps='journalctl -u' --description 'alias sdl journalctl -u'
|
||||
journalctl -u $argv;
|
||||
end
|
3
functions/sdr.fish
Normal file
3
functions/sdr.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function sdr --wraps='systemctl restart' --description 'alias sdr systemctl restart'
|
||||
systemctl restart $argv;
|
||||
end
|
3
functions/sds.fish
Normal file
3
functions/sds.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function sds --wraps='systemctl status' --description 'alias sds systemctl status'
|
||||
systemctl status $argv;
|
||||
end
|
Loading…
Reference in a new issue