icyphox / nicy

:snowflake: a nice and icy zsh and bash prompt in Nim
https://icyphox.github.io/nicy/
MIT License
180 stars 8 forks source link

Native improvements to Code #2

Closed MisterBianco closed 5 years ago

MisterBianco commented 5 years ago

Using posix library for native functions for accessing values:

:heavy_check_mark: Host :heavy_check_mark: User

as well as a new proc for accessing prompt symbol. :penguin:

icyphox commented 5 years ago

Hi thanks for this PR! I feel it would be great if there's an option for the user to customize the prompt symbol themselves. If you don't mind adding that… I'll keep this PR open.

MisterBianco commented 5 years ago

Sorry, for the accidental close. hope this fixes everything.

icyphox commented 5 years ago

This is perfect! Love it :)
Thanks a bunch.

MisterBianco commented 5 years ago

It might be worth your or my time to look at libgit2 to make the git queries more performant. -- however libgit is a nightmare and the author of the nim bindings has 0 documentation.

icyphox commented 5 years ago

I did consider it, I even attempted writing a Nim wrapper for it. I soon gave up for that very reason -- it's a nightmare.

Also yes, I've seen the existing Nim wrapper too; no docs whatsoever :(

MisterBianco commented 5 years ago

Also I am starting to work on a window manager in nim. I saw your linux rice on reddit and was wondering if you wanted to collab? I will PM you tomorrow.

icyphox commented 5 years ago

Oh nice! I was considering attempting something like that myself. Hit me up, I'll be down to collab. Where do you want to discuss this? Twitter?

MisterBianco commented 5 years ago

just emailed you