andmarti1424 / sc-im

sc-im - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal
Other
4.81k stars 204 forks source link

:help won't work if Working Directory (`pwd` output) Differs from sc-im Parent Folder #882

Closed martinvahi closed 1 month ago

martinvahi commented 1 month ago

Assumption is that the "make install" step has not been done, id est the

sc-im

has the path of

<cloned source folder>/src/sc-im

The workaround in Bash-like pseudocode:

FULL_PATH_TO_THE_INITIAL_WORKING_DIRECTORY="`pwd`" 
cd <cloned source folder>/src
sc-im   # runs the program
wait  # this line might be skipped, but here for illustration. "man wait" has the details.
cd $FULL_PATH_TO_THE_INITIAL_WORKING_DIRECTORY

The workaround script that can be placed to an arbitrary folder on PATH to start the sc-im has been attached to this flaw/bug report. sc-im.bash.txt

Thank You for reading this flaw/bug report.

martinvahi commented 1 month ago

Sorry for the double-post. Here's a flaw-fix/bug-fix to the dirty workaround script that I posted here earlier.

sc-im.bash.v2.txt

andmarti1424 commented 1 month ago

This is not a bug. You must make install to fully use the app. Not just build it.