How can I delete my 'nano' history?
I was surprised to see that when i went into nano and did 'ctl R' and then 'ctl T' that the names of old files from my home folder were still there in nano. I would like to delete this list for privacy measures.
If I go into terminal, "nano ~/.bash_history", it does NOT list those file names. It is only when I do ctl r and t do i see the list, but I don't know how to delete them; hitting delete does nothing and I don't see any commands to delete the entire 'file name'; the files are no longer in the home directory. Cheers |
Can you see your searches in the file ~/.nano/search_history? You can delete these and try again.
If you want to stop making log of your nano history Open the file /etc/nanorc and comment the line set historylog in this section set historylog |
Quote:
|
Quote:
|
Quote:
cheers |
Quote:
|
Quote:
|
Quote:
|
Apologies if you have already tried this but in your home directory can you type
Quote:
|
Quote:
"lock.filename.odt#" |
If I understand your problem. Invoking ^t will display files that do not exist from the command line or another file browser?
From the nano manual: Quote:
nano will create backup files which have the suffix ~. ~/.nano_history is for saving and reading search/replace strings. Take a look at your nanorc file(s). https://www.nano-editor.org/dist/latest/nano.html |
Quote:
|
Quote:
Is nano just holding the titles of the docs or is it actually holding a copy of the files as well??? |
nano is not holding anything. ^T is a built in file browser i.e. similar to any graphical application with a file open dialog box.
What history is saved depends on nano's configuration file i.e nanorc as described in the documentation. |
Quote:
|
All times are GMT -5. The time now is 05:41 PM. |