1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 14:54:23 +00:00

Fix wraps

This commit is contained in:
Steffo 2024-05-20 02:15:22 +02:00
parent a8eb5ca1d6
commit a29622631f
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
18 changed files with 18 additions and 18 deletions

View file

@ -1,3 +1,3 @@
function btm --description 'alias btm btm --enable_gpu_memory' function btm --wraps="btm"
command btm --enable_gpu_memory $argv; command btm --enable_gpu_memory $argv;
end end

View file

@ -1,3 +1,3 @@
function cls --wraps=clear --description 'alias cls clear' function cls --wraps="clear"
clear $argv; clear $argv;
end end

View file

@ -1,3 +1,3 @@
function cp --description 'alias cp cp -i' function cp --wraps="cp"
command cp -i $argv; command cp -i $argv;
end end

View file

@ -1,3 +1,3 @@
function dudo --wraps=sudo function dudo --wraps="sudo"
sudo $argv; sudo $argv;
end end

View file

@ -1,4 +1,4 @@
function echo_error function echo_error --wraps="echo"
set_color brred --bold set_color brred --bold
echo -n $argv echo -n $argv
set_color normal set_color normal

View file

@ -1,4 +1,4 @@
function echo_highlight function echo_highlight --wraps="echo"
set_color yellow set_color yellow
echo -n $argv echo -n $argv
set_color normal set_color normal

View file

@ -1,4 +1,4 @@
function echo_progress function echo_progress --wraps="echo"
set_color yellow --dim set_color yellow --dim
echo -n $argv echo -n $argv
set_color normal set_color normal

View file

@ -1,3 +1,3 @@
function idea function idea --wraps="idea"
command idea -e -w $argv; command idea -e -w $argv;
end end

View file

@ -1,3 +1,3 @@
function ll function ll --wraps="ls"
ls --all --author --color --kibibytes --human-readable -l $argv; ls --all --author --color --kibibytes --human-readable -l $argv;
end end

View file

@ -1,3 +1,3 @@
function mv --description 'alias mv mv -i' function mv --wraps="mv"
command mv -i $argv; command mv -i $argv;
end end

View file

@ -1,3 +1,3 @@
function rm --description 'alias rm rm -i' function rm --wraps="rm"
command rm -i $argv; command rm -i $argv;
end end

View file

@ -1,3 +1,3 @@
function sd+ function sd+ --wraps="systemctl enable"
systemctl enable --now $argv; systemctl enable --now $argv;
end end

View file

@ -1,3 +1,3 @@
function sd- function sd- --wraps="systemctl disable"
systemctl disable --now $argv; systemctl disable --now $argv;
end end

View file

@ -1,3 +1,3 @@
function sdj function sdj --wraps="journalctl"
journalctl --follow --unit=$argv[1] journalctl --follow --unit=$argv[1]
end end

View file

@ -1,3 +1,3 @@
function sdr function sdr --wraps="systemctl restart"
systemctl restart $argv; systemctl restart $argv;
end end

View file

@ -1,3 +1,3 @@
function sds function sds --wraps="systemctl status"
systemctl status $argv; systemctl status $argv;
end end

View file

@ -1,4 +1,4 @@
function telegram-emoji function telegram-emoji --wraps="magick"
echo_progress "Processing " echo_progress "Processing "
echo_highlight "$argv[1]" echo_highlight "$argv[1]"
echo_progress "..." echo_progress "..."

View file

@ -1,4 +1,4 @@
function telegram-sticker function telegram-sticker --wraps="magick"
echo_progress "Processing " echo_progress "Processing "
echo_highlight "$argv[1]" echo_highlight "$argv[1]"
echo_progress "..." echo_progress "..."