Linux command
broot 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Install
broot --install
Example
broot
Example
broot -s
Example
broot -p
Example
broot -f
Example
broot -h
Example
broot path/to/directory
说明
broot is an interactive directory tree navigator that provides a better way to navigate directories. It offers fuzzy searching, file previews, and can integrate with the shell via the br function.
参数
- --install
- Install or reinstall the br shell function
- -s, --sizes
- Display file and directory sizes
- -p, --permissions
- Display file permissions
- -f, --only-folders
- Show only directories (no files)
- -h, --hidden
- Show hidden files and directories
- -d, --dates
- Display file modification dates
- -g, --git-status
- Show git status of files
- -w, --whale-hierarchical
- Show hierarchical directory sizes
- --cmd COMMAND
- Execute command on startup
- -c, --conf PATH
- Use specified configuration file
- --outcmd PATH
- Write command to file for shell integration
FAQ
What is the broot command used for?
broot is an interactive directory tree navigator that provides a better way to navigate directories. It offers fuzzy searching, file previews, and can integrate with the shell via the br function.
How do I run a basic broot example?
Run `broot --install` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --install do in broot?
Install or reinstall the br shell function