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

Remove useless svim command

This commit is contained in:
Steffo 2024-05-20 02:05:46 +02:00
parent e5ff9ce230
commit 0fa4bc3c3f
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -1,9 +0,0 @@
function svim --wraps='sudo -u (stat -c "%U" $1) vim $1' --description 'alias svim sudo -u (stat -c "%U" $1) vim $1'
set -l owner (stat -c "%U" $argv[1])
set_color white
echo -n "File owner: "
set_color --bold brwhite
echo $owner
set_color normal
sudo -u $owner vim $argv
end