A tool for collect your favorite shell commands.
Have fun.
-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. |
$ fav -m "display mem used" free -g
$ fav -d 1
$ fav -q "select * from
fav
wherecommand
like '%free%' and date > '2017-10-21'"$ fav -l
$ fav -D
Column | Type | Desc |
---|---|---|
id | Integer | fav command id |
date | Text | date add to fav |
command | Text | command |
comment | Text | desc of fav this command |
To install favorite
, try:
sudo pip install https://github.com/liyuance/favorite/zipball/master