I often use nano for quick edits over ssh. If I combine this with sudo though my .nano_history file becomes unreadable for non-sudo editing. I end getting the following warnings:
Error reading /home/user-name/.nano_history: Permission denied
Is there any way of spitting the history file such that I can still access my non-sudo history?
TIA