LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

br

Shell function for interactive directory navigation

TLDR

Start interactive navigation
$ br
copy
Show file sizes
$ br -s
copy
Show hidden files
$ br -h
copy
Show only directories
$ br -f
copy
Install or reinstall the br shell function
$ broot --install
copy

SYNOPSIS

br [options] [path]

DESCRIPTION

br is a shell function that wraps broot, providing interactive directory tree navigation with the ability to change the shell's working directory. It is the recommended way to use broot for shell integration. Supported shells are bash, zsh, fish, and nushell.On first run, broot offers to register the br function in your shell config. You can also install it manually with broot --install, or print the function with broot --print-shell-function shell.

PARAMETERS

See broot for all available options. Common options:-s, --sizes

Display file and directory sizes
-h, --hidden
Show hidden files and directories
-f, --only-folders
Show only directories
-p, --permissions
Display file permissions

CAVEATS

The br function must be installed using "broot --install" for proper shell integration. Unlike calling broot directly, br allows changing the shell's current directory.

HISTORY

br is the shell function component of broot, installed to enable directory navigation and shell integration features.

SEE ALSO

broot(1), tree(1), ranger(1), nnn(1), yazi(1)

RESOURCES

Copied to clipboard
Kai