Replicate the function of a ZSH `print` command using FISH

This page summarizes the projects mentioned and recommended in the original post on /r/commandline

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • fzf

    :cherry_blossom: A command-line fuzzy finder

    I would like to replicate the function of this zsh command print -z -- $(fd -t d | fzf) it prints the output of the fuzzy find search, directly to the command line. FZF offers a keyboard shortcut, Ctrl+T which does this, defined here, but customizing how this widget works is beyond me at this point. I would like to extract that functionality [which is altogether trivial for zsh] and make use of it in FISH, beyond using the shortcut as it is currently defined. Thanks in advance! PS: I've tried FISH's printf command to no avail.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts