Skip to content
/ ft Public

It is familiar to use and a little bit like ripgrep, fd ๐Ÿ—‚

License

Notifications You must be signed in to change notification settings

chebread/ft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ft

ft is a plugin that find for a string in a file ๐Ÿ˜Ž It a little bit like ripgrep, fd ๐Ÿ—‚

How to use

Installation โš™๏ธ

  1. Enter git clone https://github.com/developerHaneum/ft.git at Terminal

  2. Add .zshrc to alias ft="usr/bin/python3 (Cloned or Downloaded directory path)/exec.py"

How to use man ft ๐Ÿ“š

Enter cp (Cloned or Downloaded directory path of 'ft')/doc/ft.1 /usr/local/share/man/man1/ft.1 at Terminal

Basics to use

USAGE ๐Ÿ 

ft [FLAGS/<text>] [OPTIONS/<path>]

This basics form is find a string in a file and a string in among the files in the directory. ๐Ÿคฉ

Tips of USAGE

  • If you don't want to write qutoes, You don't use to write qutoes ! (Most of case)๐Ÿ˜‰

  • As of v7.2.0, you can find a string regardless of uppercase and lowercase letters

FLAGS

ft -h or ft --help

Prints help information ๐Ÿ˜

ft -V or ft --version

Prints the information version of ft ๐Ÿ˜—

OPTIONS

ft <text> ! or ft <text> '*' or ft <text or not blank> (blank)

Entering !, * in (path) allows you to find for a string in files in the directory you currently belong to ๐Ÿ˜Œ

Return value of ft

1 or (Numbers)

Text be at file or Text be at directory (Directory mode return path, too ๐Ÿ˜)

0

File or Directory don't be ๐Ÿ˜ข

-1

Text don't be at file or Text don't be at Directory ๐Ÿ˜•

Return color of ft

Blue ๐Ÿงข

It mean is directories

Green ๐Ÿš›

It mean is directories in files

Yellow ๐ŸฅŽ

It mean is files

White ๐Ÿฎ

It mean is a number

Version

โœ‹Now version: v8.0.3 (25/04/21) ๐ŸŽ‡

License

MIT LICENSE ยฉ 2021-2025 Cha Haneum