Only use the archc enviroment if it is exists
Fix terminfo for ssh connections
Add a function to use sprunge as a pastebin from cmd