Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1312  / 2 Years ago, fri, june 17, 2022, 6:45:31

I ran abcde, but wanted to edit the CD information. When I said yes, it gave me a menu of editors to choose from. I unintentionally selected nano as the editor. I canceled C-c'd the process. Now when I run abcde it automatically uses the nano editor, which is not what I want.



Where/how does abcde keep the editor choice selection?



Note: there is no ~/.abcde.conf in my home directory. The system wide /etc/abcde.conf does not include information on the editor choice. I can't figure out how the selection I made during one run is getting to my current attempts.


More From » cd-ripping

 Answers
7

acbde uses your default text editor by reading the shell variable $EDITOR.



By default, the preferred text editor is nano on Ubuntu. If you want something else, you can set the variable to a text editor of your choice by appending a line such as



export EDITOR=vim


to the file ~/.bashrc. Replace vim with the editor of your choice, of course. Remember to re-source your .bashrc after you edited it by running . ~/.bashrc before you run abcde, or simply log out and back in.


[#26740] Saturday, June 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tudatchful

Total Points: 270
Total Questions: 109
Total Answers: 122

Location: Palau
Member since Tue, May 30, 2023
1 Year ago
;