gazorby / fifc

🐠 Configurable fzf completions for fish shell
MIT License
123 stars 7 forks source link

perf(startup): skip load of fifc rules when in interactive shell #40

Open phanen opened 3 months ago

phanen commented 3 months ago

I notice taht "fifc rules" is only intended to be used in a interative fish shell spawn by fzf (by $SHELL -c). So I tweak the startup process so that we can conditional skip it.

This pr can also fix https://github.com/gazorby/fifc/issues/31 in a more direct way.