nix: fish: simply copy the fish functions to the destination

This commit is contained in:
Primrose 2024-07-18 01:09:46 +02:00
parent 3d1064bd31
commit 6169d1e7ff
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
16 changed files with 34 additions and 29 deletions

View file

@ -1,6 +1,8 @@
function file_extension
if count $argv >/dev/null
echo (basename $argv) | sed 's/.*\(\.[^.]*$\)/\1/'
else
echo "Please supply a path"
return 1
end
end