Code Monkey home page Code Monkey logo

Comments (13)

desyncr avatar desyncr commented on May 27, 2024 1

Please go ahead. Don't be afraid to ask any question. We'll given you feedback as soon as we can.

from geometry.

vincecampanale avatar vincecampanale commented on May 27, 2024

I'd be happy to give this a shot. (I'm new)

from geometry.

vincecampanale avatar vincecampanale commented on May 27, 2024

Sounds good. Couple of questions: How should I begin? Fork and get a local version up and running? Is there a troubleshooting/development mode?

from geometry.

desyncr avatar desyncr commented on May 27, 2024

@vincecampanale Currently we don't have a debug/verbose/development mode. It would be a nice addition I think 👍 So we'll keep that in mind.

There is some documentation about how we manage plugins and prompts that may help you with this.

For a start do fork and clone your fork locally:

git clone [email protected]:vincecampanale/geometry.git

Do create a bugfix branch to work on (a common practice):

git branch -b bugfix-git-prompt-spaces

When developing what I do is configure geometry theme simply by sourcing it this way:

~/.zshrc:

source /path/to/geometry.zsh

Then hack, open a new terminal/tab/panel, check and repeat.

Finally, when you see your changes working, do push your changes to github and make a PR:

git push -u origin bugfix-git-prompt-spaces

You should see a "Make Pull Request" button (or similar wording) on the Github web interface.

We'll review the changes, test them on various configurations (pretty much like you would) and provide as much feedback as you'd need.

from geometry.

vincecampanale avatar vincecampanale commented on May 27, 2024

Okay, forked and cloned. Currently familiarizing myself with the code. What exactly is zsh? From my Googling I've found that it's kind of a Terminal application that does more than just standard Terminal. How do I enable zsh in my terminal and set it to 'geometry' mode. I added a line source ~/directories/to/geometry.zsh to ~/.zshrc but Terminal hasn't changed. I'd like to get used to using the application in order to contribute more. Also, what language is this written in? "ZSH" language?

from geometry.

desyncr avatar desyncr commented on May 27, 2024

@vincecampanale Take a look here. It'll give you a general understanding of what is and what it can do, how to set it up and configure.

Here is the minimal working .zshrc.

Depending on your OS you have various options to install zsh:

Debian/Ubuntu: apt-get install zsh

Fedora/Cent OS: dnf install zsh

Mac OS: brew install zsh

You can permanently switch to zsh with:

chsh -s `which zsh`

You don't need to but if you spend some time in the terminal you may find it a good option to check.

Let me know if you can get it working.

from geometry.

vincecampanale avatar vincecampanale commented on May 27, 2024

Thanks, it's working!
Now, how can I get exec_time to show? What kind of action prompts the display pictured in the issue above?

from geometry.

desyncr avatar desyncr commented on May 27, 2024

The built-in exec_time plugin is enabled by default. So you don't need to configure anything.

What it does is that if a command's execution duration is above certain threshold it's displayed as shown in the screenshot.
The default threshold is 5 (seconds). So issuing this simple command wound render exec_time:

sleep 5

Hope that helps.

from geometry.

desyncr avatar desyncr commented on May 27, 2024

@vincecampanale Correction. There is still a configuration variable you'll need to set up:

PROMPT_GEOMETRY_EXEC_TIME=true

Put that line before sourcing geometry.

I thought this was removed in this issue.

from geometry.

desyncr avatar desyncr commented on May 27, 2024

@vincecampanale Are you stuck or need any other kind of feedback? Let us know.

from geometry.

vincecampanale avatar vincecampanale commented on May 27, 2024

Yea, I'm having difficulty with troubleshooting. I'm also getting this error
screen shot 2016-12-21 at 1 34 08 am

The relevant lines of code:
screen shot 2016-12-21 at 1 34 43 am

Any thoughts on a good place to start? I guess I'm just getting used to the new programming language and application type. I've never worked with zsh or any kind of terminal/shell application before.

from geometry.

desyncr avatar desyncr commented on May 27, 2024

A first look nothing seems out of place. You may create a gist with the relevant file so it's easier to look at.

from geometry.

desyncr avatar desyncr commented on May 27, 2024

Closing this as per #71. Thank you @vincecampanale

from geometry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.