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