zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
30.81k stars 1.85k forks source link

where is the history of auto-suggestions located? can i modify myself to make my own suggestions? #616

Closed alexzanderr closed 3 years ago

alexzanderr commented 3 years ago

the title is pretty straight forward. sorry if duplicate. thanks in advance.

ericfreese commented 3 years ago

Yeah it uses the standard zsh history, so any modifications you make to your zsh history will be reflected in the suggestions made going forward. Run echo $HISTFILE to see where your zsh history is being stored.

alexzanderr commented 3 years ago
> echo $HISTFILE
/home/alexzander/.config/zsh/.zsh_history

yeah. i got it now. thanks

alexzanderr commented 3 years ago

its very nice it uses the standard zsh history file, instead of creating another one.