Skip to content
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

Better TTY logic for zlogin and zlogout #1183

Merged
merged 1 commit into from
Dec 4, 2017

Conversation

leoj3n
Copy link
Contributor

@leoj3n leoj3n commented Aug 23, 2016

Handles more cases more gracefully.

ezintz added a commit to ezintz/prezto that referenced this pull request Sep 22, 2016
facastagnini added a commit to prezto-inactive-community-fork/prezto that referenced this pull request Dec 29, 2016
@facastagnini
Copy link
Collaborator

Hi @leoj3n , your PR got merged in the community maintained fork of this repo.

zsh-users is an organization dedicated to host Zsh community projects and therefore became the rational home for a community maintained version of prezto.

Your contribution is greatly appreciated!

https://github.com/zsh-users/prezto

@belak
Copy link
Collaborator

belak commented Apr 13, 2017

Thanks for your contribution! What's the advantage of using -o INTERACTIVE over -t 0? It seems like they both accomplish similar goals in different ways (at least in this context).

@jeffwidman
Copy link
Collaborator

Nudge @leoj3n

@leoj3n
Copy link
Contributor Author

leoj3n commented Aug 16, 2017

@belak -t 0 could be a non-interactive terminal.

ezintz added a commit to ezintz/prezto that referenced this pull request Oct 14, 2017
ezintz added a commit to ezintz/prezto that referenced this pull request Oct 14, 2017
@belak
Copy link
Collaborator

belak commented Dec 4, 2017

This makes sense. Sorry it's taken me so long to get around to merging it!

Is there any reason to check -t 2 as well as -o INTERACTIVE? It seems like checking if the terminal is interactive would be enough.

@belak belak merged commit e2785cc into sorin-ionescu:master Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants