Comments (13)
Please go ahead. Don't be afraid to ask any question. We'll given you feedback as soon as we can.
from geometry.
I'd be happy to give this a shot. (I'm new)
from geometry.
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.
@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.
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.
@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.
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.
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.
@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.
@vincecampanale Are you stuck or need any other kind of feedback? Let us know.
from geometry.
Yea, I'm having difficulty with troubleshooting. I'm also getting this error
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.
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.
Closing this as per #71. Thank you @vincecampanale
from geometry.
Related Issues (20)
- exec_time doesn't show in prompt HOT 2
- possibility to deactivate `hostname` HOT 12
- command not found: geometry_plugin_register when installing plugins both manually and with antigen HOT 5
- Explicit args for default plugins HOT 3
- Investigate supporting gitstatus
- Git reports errors in git submodules HOT 5
- clobber ASYNC_FD HOT 2
- Update async prompt functions independently
- Holding enter crashes on macOS HOT 7
- Prompt displays hostname after empty command HOT 1
- geometry::wrap prints unneeded space if output of called function is empty or single-space HOT 1
- GEOMETRY_INFO is surprising HOT 2
- Custom git GEOMETRY_RPROMPT spews to stderr
- GEOMETRY_CMDTITLE has issues with escape codes HOT 1
- git init produces an error: fatal: ambiguous argument 'HEAD' HOT 2
- geometry swallows output without trailing \n HOT 2
- Request - Add install tool Oh-My-Zsh HOT 3
- Newlines being removed from custom command in magic enter
- Request: Python Virtualenv as a prompt element HOT 1
- Make new gifs using vhs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geometry.