Skip to content

Commit

Permalink
Edit README.md. One screenshot added.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael1015198808 committed Apr 21, 2019
1 parent f21517a commit e2643db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,27 @@ Though this tool can't allow you to recite word at any time, it allows you to re
## Installation

You can execute this program manually by

python3 vocab.py [args]
Or, you can add it to your shellrc like(That's exactly what I do)

function vocab {
python3 ~/vocabulary/main.py $*
}
You can add a file to /bin, like /bin/vocab as well

python3 ~/vocabulary/main.py $*

## Automation
Add the following to your zsh(Or other shell)'s theme

$(vocab)
or

$(python3 ~/vocabulary/main.py)

That's my zsh's theme

PROMPT=$'%{\e[0;34m%}%B┌─[%b%{\e[0m%}%{\e[1;32m%}%n%{\e[1;30m%}@%{\e[0m%}%{\e[0;36m%}%m%{\e[0;34m%}%B]%b%{\e[0m%} - <$(git_prompt_info)> - %{\e[0;34m%}%B[%b%{\e[0;33m%}'%D{"%a %b %d, %H:%M"}%b$'%{\e[0;34m%}%B]%b%{\e[0m%}$(if [ $temp ]; then echo ;echo -ne "\033[0;34m%B│"; echo temp:$temp; fi)
%{\e[0;34m%}%B│$(vocab)
%{\e[0;34m%}%B└─%b%{\e[0;34m%}%B[%b%{\e[1;37m%}%~%b%{\e[0;34m%}%B] %{\e[1;35m%}$%{\e[0m%}%b'
Expand All @@ -32,6 +38,9 @@ If you would like a commonly used list(CET 4/6, TOEFL, IELTS) and you have a wor
## Demo
TO BE ADDED.

## screenshots
![](screenshots/demo1.png)

## Enviorment
This repo only supports Python3 now. It may supports Python2 in the future.

Expand Down
Binary file added screenshots/demo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e2643db

Please sign in to comment.