not-poma / lazyshell

GPT powered Zsh completion script
MIT License
371 stars 26 forks source link

Guard against local user options #6

Closed xPMo closed 1 year ago

xPMo commented 1 year ago

I ran into an issue where the call would always fail due to me having setopt noclobber in my Zsh config. To guard against user settings, we can emulate -L zsh at the start of any function to restore zsh's default settings for that function.

xPMo commented 1 year ago

Sidenote: Reading the current todo you have in the README: What do you mean by "query history"?

I'm putting together my own TODO btw.

not-poma commented 1 year ago

query history would be an ability to move to your previous queries with up/down keys