Not sure why
wip
copy bash_logout
its a mess now