GitHunt
DI

diversable/alfred_workflow__run_nushell_command

Run NuShell commands using your shell configuration

WIP: NuShell Not Yet Supported! DO NOT USE

icon Run NuShell Command Alfred Workflow

Run commands using your shell configuration

⤓ BROKEN LINK: Install on the Alfred Gallery

Usage

Run NuShell commands without opening a terminal via the nu keyword. Your shell’s configuration files will be loaded, making your custom aliases, functions, and more available to the environment. Commands execute relative to the frontmost Finder window to allow quick changes on the current working folder. Exit status is shown as a notification and output in a Text View.

Sending command

  • ↩︎ Run the command.
  • ↩︎ Run command but do not open output in Text View.
  • ↩︎ Show command history to rerun a command.

Use the Universal Action to send files and text as arguments to a command. If the placeholder from the Workflow’s Configuration is present in the text, it will be replaced with your arguments, otherwise they are appended to the end.

Universal Action selecting files

Universal Action command

The same modifiers apply. Separate command histories are created for commands ran with the Keyword or the Universal Action.

Command history

  • ↩︎ Run command.
  • ↩︎ Delete all command histories and saved outputs.
  • Y (or tap ) Quick Look saved output.

Languages

Shell100.0%

Contributors

BSD 3-Clause "New" or "Revised" License
Created December 22, 2024
Updated December 22, 2024
diversable/alfred_workflow__run_nushell_command | GitHunt