Marxsal / polly

Batch file system to restore TiddlyWiki files from download directory to their original home directory
9 stars 1 forks source link

Linux Queries #7

Open TiddlyTweeter opened 5 years ago

TiddlyTweeter commented 5 years ago
  1. Does Linux have a universally reliably available editor like Windows "notepad.exe" in-built in all releases?
Marxsal commented 5 years ago

Technically "vi" should be on every system. But "vim" is likely to be on 90% of systems, and according to wikipedia is also on every mac os. Though I'm sure Mac has something friendlier for it's flagship editor.

Could have a menu where users select their editor of choice.

TiddlyTweeter commented 5 years ago

I think I'll move setting for $editor out of main script into do-settings.ps1. I think its more logical and useful place to be able to set it.

TiddlyTweeter commented 5 years ago

Technically "vi" should be on every system. But "vim" is likely to be on 90% of systems, and according to wikipedia is also on every mac os. Though I'm sure Mac has something friendlier for it's flagship editor.

One thing I've looked into is making do-settings.ps1 so it takes user step by step through an .ini creation. Has advantage it would be cross-platform, not requiring an external editor.