ft
is a plugin that find for a string in a file ๐ It a little bit like ripgrep
, fd
๐
-
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"
Enter cp (Cloned or Downloaded directory path of 'ft')/doc/ft.1 /usr/local/share/man/man1/ft.1
at Terminal
This basics form is find a string in a file and a string in among the files in the directory. ๐คฉ
-
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
Prints help information ๐
Prints the information version of ft
๐
Entering !
, *
in (path)
allows you to find for a string in files in the directory you currently belong to ๐
Text be at file or Text be at directory (Directory mode return path, too ๐)
File or Directory don't be ๐ข
Text don't be at file or Text don't be at Directory ๐
It mean is directories
It mean is directories in files
It mean is files
It mean is a number
-
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 ํ์ผ์ ์ฝ์ด๋ณด์ธ์! ๐
It find for a string in all files in the directory you currently belong to ๐ฅณ
But It isn't enough level of completion ๐ฅฒ
โNow version: v8.0.1 (21/11/11) ๐
Use MIT License so everyone can use it ๐