Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't chain multiple shell commands #3

@al-ce

Description

@al-ce

e.g.

/base/:
  <gahr-8>: shell(open ~/.config/) + shell(open ~/Applications/)
  <gahr-8>: shell(mkdir ~/.qutebrowser/testing) + shell(open ~/.qutebrowser/)
  <gahr-8>: shell(open ~/.config/) + shnotify(hello, world)

The first of those commands opens the Applications folder but not .config, the second opens the .qutebrowser folder but doesn't create testing/, etc.No error messages in the Karabiner-Elements GUI Log.

The 'workaround' (which is what one would probably do anyway is the obvious, e.g.

<gahr-8>: shell(mkdir ~/.qutebrowser/testing && touch ~/.qutebrowser/testing/test.txt)

But it would be nice to compartmentalize the wrapped shell pseudo-funcs like shnotify(), open(), etc.

Potential fixes:

  • see if this has been addressed already in KE
  • when creating the keymap, check if there are multiple shell-based pseudo-funcs and chain them

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions