mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-23 07:14:22 +00:00
7 lines
135 B
Fish
7 lines
135 B
Fish
|
function stripbase
|
||
|
for file in *
|
||
|
set truename (string split -m1 " " "$file")[2]
|
||
|
mv "$file" "$truename"
|
||
|
end
|
||
|
end
|