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:
parent
e5ff9ce230
commit
0fa4bc3c3f
1 changed files with 0 additions and 9 deletions
|
@ -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
|
Loading…
Reference in a new issue