jamesob / jamesob/desk

IntelliJ (phpstorm) error on desk open.

Open
#81 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
2.6k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

I am getting the following error when trying to open a Deskfile in the terminal window of PhpStorm:

```
/usr/local/bin/desk: line 133: exec: jediterm-bash.in --bash -i: not found
```

Seems to be because the terminal plugin in Phpstorm is opening terminal sessions with additional flags which contain a path. This makes the approach chosen by desk to determine the shell interpreter impossible.

```bash
/bin/bash --rcfile /Users/wesselvdv/Library/Application Support/JetBrains/Toolbox/apps/PhpStorm/ch-0/182.3911.43/PhpStorm.app/Contents/plugins/terminal/jediterm-bash.in --login -i
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at /usr/local/bin/desk around line 133 and reproduce the failure in PhpStorm using the shown bash command with the jediterm-bash.in path. The work is done when opening a Deskfile in PhpStorm no longer treats the terminal plugin path and flags as the shell interpreter.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, shell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.