Comments (24)
I am interested in working on this issue! But I have not been able to reproduce it.
Could you help me out here?
from geometry.
Sure thing. As soon as I can I'll give you further information (OS, terminal etc).
from geometry.
OS: OS X Yosemite, 10.10.5
Terminal: iTerm2 Build 3.0.12 & Terminal.app Version 2.5.3 (343.7)
zsh: zsh 5.3 (x86_64-apple-darwin14.5.0)
Anyways, it happened with zsh 5.2 as well, probably with other versions too.
from geometry.
Step to reproduce:
- Open a terminal
- Run
sleep 10
Expected results:
- Terminal window title should display: sleep @ ~/path/to/current/directory
Results:
- $COMMAND @ $CURR_DIR
Hope that helps!
from geometry.
By the way, it's currently working on my end.
It's iTerm nightly, by the way.
from geometry.
Works on my end too.
OS : macOS Sierra, 10.12.1
Terminal : Default terminal
zsh 5.2
I'll try on iTerm2.
from geometry.
@desyncr can you check if in the iTerm Preferences, under the Appearance tab, is there any option clicked on "Window & Tab Titles"?
from geometry.
Also, don't forget to check the "Terminal may set tab/window title" option under Preferences > Profiles > Terminal. Probably should add that to the docs.
from geometry.
May be I'm missing something, but remember it also does seem to work on Terminal.app.
from geometry.
Works on Terminal.app here as well.
from geometry.
macOS 10.12.1, zsh 5.3 (x86_64-apple-darwin16.1.0)
from geometry.
I guess then it's my set up in some way messing up with this. I'll take a look later today.
@aishpant It'll be better to look for other issues if you can't reproduce this one.
from geometry.
It seems it's all about this single line (check the single quotes). Not sure why you can't reproduce it thought.
from geometry.
@aishpant Are you up for this still? Let me know 👍
from geometry.
@desyncr sorry I haven't seen the issue here yet. I'll take something else.
from geometry.
Alright, I'll let it hang out a bit more for anyone interested and then take it if there is no one to look after it.
from geometry.
Hello, again! :) Just wanted to let you know that it works properly on my build and on both terminals as well.
El Capitan 10.11.6
zsh 5.0.8 & zsh 5.3.1 (one was an old built-in zsh, the other one is the updated one from homebrew)
Terminal.app 2.6.1
iTerm 2 3.0.12
Maybe a yosemite bug or something?
from geometry.
Could anybody try:
zsh -f
source /path/to/geometry/geometry.zsh
sleep 5
and check if the title is updated as expected? For me what happens is I see $COMMAND @ $CURR_DIR
.
from geometry.
Able to reproduce that way:
from geometry.
It seems we're not properly setting PROMPT_SUBST
. print documentation. Prompt expansion docs.
We probably should do setopt PROMPT_SUBST
to make it work as expected anywhere.
from geometry.
@ChauTNguyen @aishpant any of you want to tackle this?
from geometry.
I'll try it. Where should setopt PROMPT_SUBST
be placed though (for style purposes). Right now I have it under Misc configurations (line 35 of geometry.zsh).
from geometry.
I think it belongs inside the set up method prompt_geometry_setup
below this line. As the global configuration section in geometry.zsh
is meant for global variables, very little actual code show be placed there.
from geometry.
Fixed in #74
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.