taskshell icon indicating copy to clipboard operation
taskshell copied to clipboard

always shows the tasksh --help on start. Is this default behaviour?

Open nishantpratimdas opened this issue 5 years ago • 3 comments

If yes, could you please let me know how do I change it to run the list command on start?

nishantpratimdas avatar Sep 25 '20 17:09 nishantpratimdas

That is the default, and I am not aware of any way to change it.

lordcirth avatar Sep 25 '20 19:09 lordcirth

There hasn't been a commit in such a long. Is this not being developed anymore?

nishantpratimdas avatar Sep 26 '20 02:09 nishantpratimdas

To change it currently requires editing the source code, but it's not too difficult:

  1. Checkout tasksh source code.
  2. Run cmake -DCMAKE_BUILD_TYPE=release . to generate makefile.
  3. Run make to compile src and produce src/tasksh
  4. Edit src/main.cpp to insert // before cmdHelp (); on line ~58.
  5. Run make to re-compile src/tasksh
  6. Either sudo make install or just copy src/tasksh to somewhere on your user's path.

The downside is that, when there are future releases of tasksh, you'd need to pull the latest code and re-apply the change.

boughtonp avatar Mar 15 '22 18:03 boughtonp