gt
, is a command-line tool written in Go that displays a tree of files
and directories with colored icons.
- Displays a tree of files and directories.
- Supports showing hidden files.
- Option to unsort files.
- Displays summary of files and directories.
- Colored icons based on file types.
- List directories.
- Order files.
- Print full path.
-
Ensure you have Go installed, and also Nerd Fonts
-
Clone the repository
git clone https://github.com/elbachir-one/gt
cd gt
go build gt.go
./gt
- Install
sudo cp gt /usr/local/bin/gt
- Arch Linux
yay -Sy gt
- Void Linux
git clone --depth=1 https://github.com/void-linux/packages
cd void-packages/
./xbps-install binary-bootstrap
mkdir srcpkgs/gt
vim srcpkgs/gt/template
Past the content of this template to your local template and save it.
./xbps-install pkg gt
sudo xbps-install -R hostdir/binpkgs gt
gt [OPTIONS] [DIRECTORY]
gt | less -r
-r
is an option for less to repaint the screen.
gt | fzf --ansi
Options:
Contributions, issues, and feature requests are always welcome! Thank you.