dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.61k stars 65 forks source link

BUG: Rebel arity error when set as default tmux shell #114

Closed jaidetree closed 5 years ago

jaidetree commented 5 years ago

REPRODUCTION

  1. Run a working tmux instance
  2. Modify and run the following command through tmux (ctrl-b+:) set -g default-shell /path/to/closh-zero.jar
  3. Create a new tmux window (ctrl-b+c)

EXPECTED

A new closh shell is created running the jar

ACTUAL

An error message flashes and the window closes.

screen shot 2018-12-11 at 2 49 16 pm

Notes:

ENVIRONMENT

Name Value
Operating System: OS X Mojave (10.14)
TMUX version: 2.8
Original shell: zsh
Java Version: java version "1.8.0_144"

Let me know if any other information would be helpful. This is an awesome project and I would love to make it my default shell :metal:

dundalek commented 5 years ago

Thank you, what a superb bug report :ok_hand:

I think I have a clue where the issue might be, will look into it.

dundalek commented 5 years ago

I just published a tiny new release with a fix which should take care of this: https://github.com/dundalek/closh/releases/tag/v0.3.2

Please let me know if it works for you.

jaidetree commented 5 years ago

Tested it, works just fine. Thanks!

dundalek commented 5 years ago

Cool :+1: