-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run Zsh #91
Comments
Fish works https://medium.com/@rubiimeow/first-thoughts-and-a-quick-setup-guide-on-bash-for-windows-7da4674f6f74#.lgr60o2k2. I know its not the same but at least it's something. |
Ok, I've investigated the zsh failures and I've found the culprit. It's a (somewhat) long read, so bucle up. Part 1:
|
First off: @mcornella, excellent write-up. Thanks! We have this one on our radar and will look into it. |
@mcornella amazing write up! your gist also let me install zsh so thanks!! |
I try build zsh from master branch follow @mcornella's guide at https://gist.github.com/mcornella/ef57daa66fa9c97aa221de0ad4ec77a9, but got same issue.
My SHELL Path :
My root path
|
You probably still have the Ubuntu zsh installed. Try |
@mcornella : finally, after I comment out
Could you tell me any idea can resole this problem ? Sorry, It's a short time using linux terminal. |
The |
@at-kietva This failed for me too but if you type |
I've updated the initial gist to reflect this: https://gist.github.com/mcornella/ef57daa66fa9c97aa221de0ad4ec77a9#file-build-zsh-txt-L51-L55 |
Ok, I've made room for the second part of the report. This one is much shorter, and it's just the output of the Part 2: zsh failed tests1. Process subsitutionThat is, a simple
Test D03 is also skipped because of this:
2. Accessed time attribute not implemented?This is part of a bigger test that tests a bunch of conditions but I'm focused on the The test is simple: touch accessed not_accessed
sleep 2 && cat accessed
# the -N option means 'unread file'
[[ -N not_accessed && ! -N accessed ]] This should return true but doesn't because the
3. Completion test failedThis one I cannot figure out why it fails; it's probably nothing to do with #BashOnWindows but I'm putting it out here in case someone knows why it happens. It consists on a difference between what the completion returns and what it should return.
Full log:
Thanks and Godspeed! |
Fixed on internal builds. I am not a zsh person so I have note tested everything, but:
|
Can you try Oh My Zsh? |
@russalex is there any rough estimation when this build might be coming to an Insider Build? |
Hi @russalex, thank you for the update. 2 things: First, do you know when's the soonest time end users can get the fix? If not, do you know where we can look at the deployment schedule for updates? And second, could you run the following test to see if process substitution works on the fixed version? cat <(echo it works | cat) Thanks a lot! |
For what it's worth, process substitution under bash is being investigated with issue #266 . I don't know how zsh does process substitution but would assume that they're related. |
Sorry for the late replies here. @cH40z-Lord, I wish I could give more information on the schedule. Unfortunately I can not. Best I can say is to stick on the Insider Fast right to get things as quickly as possible. @angelog, Never tried myzsh before so this will not be a fair test. It did install with no errors but I do not believe the prompt displayed correctly:
My suggestion on this one would be to start a new issue here (and possibly on our uservoice page) when the zsh fixes go out. @kameleon83 mcornella , @benhillis is talking about process substitution on #266 (as @aseering points out). Looks like we still have the same bug under zsh |
@russalex that's a known issue on ohmyzsh. Some themes require loading plugins, which is not done automatically, so random doesn't really work reliably. @angelog as far as I've tested, most of ohmyzsh should work ok, except where process substitution is used. Some plugins may not work as well, but that's a bigger testing effort that I can't do right know. If in the future something doesn't work you can always open an issue on the official repo and I'll do my best to help. |
And is nice to remember that even in Linux/Mac, Oh My Zsh uses patched fonts for some of the themes. |
Hello guys, |
@kameleon83 Thank you for confirming! Please do let us know if you encounter unexpected behavior with zsh or OhMyZsh. |
@benhillis Of course. I will do it ;-) |
so and how to run this by default? chsh doesn't do anything. always have to run zsh as user. strange thing, as root it get's executed by default |
@lama0900 Hello just write in ".bashrc" |
thank you 👍 . is that behaviour different from "proper" ubuntu? b/c never did something like that.. |
It is still in beta. We must send the bug to insider hub. I did not do it. P.S.: Sorry for my english. I'm french and I translate by google |
@kameleon83 thank you anyway. at least, working for me! 👍 |
@lama0900 @kameleon83 On native Ubuntu it's the login process that decides which shell to launch. It queries the /etc/passwd file and invokes your default shell (which can be modified by chsh). Currently we do not run the Ubuntu login process and launch /bin/bash directly. This has been suggested on our user voice forum, I would encourage you to upvote that thread to help us prioritize what our team works on in the future. |
@kameleon83 Not work on 10342 |
@falltodis 10342 or 14342? |
@kameleon83 Sorry! It's 14342 |
Can confirm this works now on the latest build! 👍 |
@johnkchiu I'd assume you'd likely need to install Powerline patched fonts? |
@johnkchiu I got it working by installing newest release of Conemu https://github.com/Maximus5/ConEmu/releases/tag/v16.05.15 and ensuring
|
ComEmu + Powerline fonts helped, but I'm still getting some unresolved chars. Thanks for the tip. |
Closing this issue out since zsh now works. Feel free to continue the discussion here though! |
@brianjking I followed your steps and the fonts still don't render with # zsh --version
zsh --version
zsh 5.1.1 (x86_64-ubuntu-linux-gnu)
# lsb_release -a
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial Has anyone successfully rendered the agnoster theme on Xenial? |
I figured it out. You have to clone I documented the configuration on my wiki. |
@bootstraponline wiki config worked for me, was having the font problem as well. Cheers! |
"apt-get install zsh" is ok
oh-my-zsh is ok
but when run :
Sorry my english!
The text was updated successfully, but these errors were encountered: