Skip to content

liyuance/favorite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

favorite

A tool for collect your favorite shell commands.

Have fun.

Options

-m Comment for command.
-d Delete from favorite with id.
-q Fetch command from favorite by sql.
-l List all of the favorited commands.
-D Clean up favorite.

Example

$ fav -m "display mem used" free -g

$ fav -d 1

$ fav -q "select * from fav where command like '%free%' and date > '2017-10-21'"

$ fav -l

$ fav -D

Table fav schema:

Column Type Desc
id Integer fav command id
date Text date add to fav
command Text command
comment Text desc of fav this command

Installation

To install favorite, try:

sudo pip install https://github.com/liyuance/favorite/zipball/master

About

A tool for collect your favoriter commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages