Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
/ ft Public archive

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>] [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 ๐Ÿ˜Œ

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

Help

5.2 version shouldn't -> v6.0 was resolved in version ๐Ÿคฉ

  1. If a directory exists inside a directories

    I 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 ํŒŒ์ผ์„ ์ฝ์–ด๋ณด์„ธ์š”! ๐Ÿ˜ƒ

How to use of ft '' ! or ft (blank) (blank)

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

โœ‹Now version: v8.0.1 (21/11/11) ๐ŸŽ‡

License

Use MIT License so everyone can use it ๐Ÿ˜‰