1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 06:44:22 +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;
end

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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