matchai / spacefish

πŸš€πŸŸ The fish shell prompt for astronauts
https://spacefish.matchai.dev
MIT License
963 stars 77 forks source link

Slow loading on macOS Catalina #211

Closed dalisoft closed 4 years ago

dalisoft commented 4 years ago

Bug Report

Current Behavior fish-shell loading very slow or never (sometimes, most of time slow loading times)

Expected Behavior It should load fast as default theme

Relevant Fish Configuration

set -g fish_user_paths "/usr/local/sbin" $fish_user_paths

Environment

Possible Solution If Docker (Dinghy) enabled, loads fast. When disabled very sloow.

Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.

Related issue: https://github.com/fish-shell/fish-shell/issues/6408

dalisoft commented 4 years ago

Setting set -g SPACEFISH_DOCKER_SHOW false in config helped for me. I sure, if it matches docker-compose.yml in folder, waiting for Docker for version.

matchai commented 4 years ago

Hi @dalisoft. Thank you for opening an issue. Unfortunately, spacefish is no longer under active development, but I suggest you take a look at its successor https://github.com/starship/starship, which has considerably faster loading times.

That said, if someone comes around with a PR to fix this bug, I'll gladly review and merge it. πŸ˜„

dalisoft commented 4 years ago

Thanks for response. Currently passing env is workaround. Starship also does not have Docker support, so seem removing that little faster, but cannot replace this awesome shell prompt/theme.

We can close this issue, workaround have, but I don’t have time to PR (sorry)