asottile / babi

a text editor
MIT License
396 stars 46 forks source link

Default color scheme doesn't work on macos #234

Closed aliakseip closed 2 years ago

aliakseip commented 2 years ago

Hey Anthony,

It seems that default color scheme doesn't work on macos.

Screenshot 2022-04-11 at 19 59 22 Screenshot 2022-04-11 at 19 59 55
asottile commented 2 years ago

it works fine for me -- how did you install babi? I suspect you did sudo pip install or some-such -- I'd recommend installing into a virtualenv (and never using global pip / etc.)

personally I use:

virtualenv ~/opt/venv
~/opt/venv/bin/pip install babi
mkdir -p ~/bin
ln -sf ~/opt/venv/bin/babi ~/bin/

and then have export PATH="$HOME/bin:$PATH" in my shell startup files (bashrc / zshrc / etc.)

aliakseip commented 2 years ago

It also works fine, thanks. I also propose to update README.md for babi. Can I create a PR?

asottile commented 2 years ago

maybe just a quick note here -- "babi works best in a virtualenv" or something like that