add signature snippet
use head option instead of prev_word
add snippets about current path
add a signature snippet