A accidentally some changes to my bash configuration I keep in git by doing git reset –hard head in an incorrect directory. In particular some nifty functions I used. I have a terminal running which still has these functions loaded, can I still reconstruct them from the environment somehow?
Share
If you defined them as functions in a file your sourced from something like
.bashrcor.profileyou should be able to use bash’stypecommand.