AbnormalLemmings
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Andy@programming.dev to zsh@programming.devEnglish ·
edit-2
1 year ago

Using broot as an fzf-like path completer and interactive folder jumper in Zsh

andydecleyre.github.io

external-link
message-square
0
link
fedilink
  • cross-posted to:
  • shell@programming.dev
1
external-link

Using broot as an fzf-like path completer and interactive folder jumper in Zsh

andydecleyre.github.io

Andy@programming.dev to zsh@programming.devEnglish ·
edit-2
1 year ago
message-square
0
link
fedilink
  • cross-posted to:
  • shell@programming.dev
Broot is a great file manager TUI which can be adapted for very specific workflows. But it takes some configuration up front to get things going, even for the basics. I’ll go over some of my own configurations for using it from Zsh: Minimum Suggested Setup: wrap broot in a Zsh function launch it with a non-disruptive shortcut Broot Basics: basic broot configuration basic broot usage Seamless Zsh Hookups: drill down and fuzzy filter to set your working folder complete a file argument My dotfiles containing the snippets in this post are on GitHub at dotfiles-broot and dotfiles-zsh/broot.zsh.

cross-posted from: https://programming.dev/post/10377576

Hello! I love broot. It’s not my own project, but this blog post is, so feel free to send any questions or insults my way.

Previews:

  • Drill down to change folder
  • Complete a partially typed argument with a path filter
  • Complete with a file-content filter
alert-triangle
You must log in or register to comment.

zsh@programming.dev

zsh@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !zsh@programming.dev

The Z shell is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with many improvements, including some features of Bash, ksh, and tcsh. Zsh was created by Paul Falstad in 1990 while he was a student at Princeton University.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 3 users / day
  • 3 users / week
  • 3 users / month
  • 3 users / 6 months
  • 1 local subscriber
  • 80 subscribers
  • 6 Posts
  • 0 Comments
  • Modlog
  • mods:
  • LinearArray@programming.dev
  • UI: unknown version
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org