I want to change the text editor that opens when setting crontab
to VS Code Insider version, so I added the ShellScript below to ./profile
, but GNU nano will open.
Please tell me how to change the text editor that opens when setting the crontab
.
echo export EDITOR=code-insiders>>/home/pi/.profile
source to /.profile
I don't know what shell you're using, but if it's common, neither /profile
nor ~/profile
will run automatically.If the code presented is written in ~/.profile
, source~/.profile
will result in infinite recursion.
In ~/.profile
,
export EDITOR=code-insiders
Reboot the shell by writing
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
584 PHP ssh2_scp_send fails to send files as intended
623 Uncaught (inpromise) Error on Electron: An object could not be cloned
922 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
576 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2024 OneMinuteCode. All rights reserved.