ft
ft
is a plugin that find for a string in a file ripgrep
, fd
How to use
โ๏ธ
Installation -
Enter
git clone https://github.com/developerHaneum/ft.git
at Terminal -
Add
.zshrc
toalias ft="usr/bin/python3 (Cloned or Downloaded directory path)/exec.py"
man ft
๐
How to use 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>] [OPPTIONS/<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
OPPTIONS
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
ft
Return value of 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
ft
Return color of ๐งข
Blue It mean is directories
๐
Green It mean is directories in files
๐ฅ
Yellow It mean is files
๐ฎ
White It mean is a number
Help
5.2 version shouldn't -> v6.0 was resolved in version ๐คฉ
-
If a directory exists inside a directoriesI will add this function ASAP๐ญ
v7.8.5 ์ดํ ๋ฒ์ ๋ค์ ๋ฑ์ ํ์ผ๋ค์ ์ฝ๊ธฐ ๋๋ฌธ์, ๋๋๋ก์ด๋ฉด .png, .jpg, .env, node_modules (dir) ๋ฑ๊ณผ ๊ฐ์ ํ์ผ์ด๋ ๋๋ ํ ๋ฆฌ๊ฐ ์๋ ๊ณณ์์ ๋ฒ๊ทธ๊ฐ ๊ณ ์ณ์ง๋ ๊น์ง ft ๋ฅผ ์ฌ์ฉํ์ง ๋ง์ธ์ ๐ข -> This issue has been resolved in version v7.9.0 ๐ฅณ
๐
v8.0.0 ์์ v7.8.5์ ๊ดํ ๋ฒ๊ทธ๋ฅผ ์๋ฒฝํ ์์ ํ์์ต๋๋ค. ์์ธํ ์ค๋ช
์ versions.md ํ์ผ์ ์ฝ์ด๋ณด์ธ์! ft '' !
or ft (blank) (blank)
How to use of It find for a string in all files in the directory you currently belong to
Goal
๐ป
I will want to upload to Homebrew package But It isn't enough level of completion
Version
License
Use MIT License so everyone can use it