function fish_profile if test -e /tmp/fish.profile rm /tmp/fish.profile end fish --profile-startup /tmp/fish.profile -i -c exit sort -nk2 /tmp/fish.profile end