Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Modules/docker #49

Closed

Conversation

akarzim
Copy link

@akarzim akarzim commented Mar 4, 2017

Add some concise aliases for docker, docker-machine and docker-compose.

AFAIK, theses aliases will not shadow other system commands or prezto’s module aliases.

@paulmelnikow
Copy link

For the record: this is a repost of sorin-ionescu#1147

@malikoth
Copy link

malikoth commented Mar 7, 2017

Exciting!


[1]: https://www.docker.com/
[2]: https://github.com/zplug/zplug
[3]: https://github.com/akarzim/zsh-docker-aliases/issues

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a bit confusing. We've started some discussions (see #38 and #33) about these blocks.

I'd like this to read something like this:

Support

If you're having problems, use the Prezto issue tracker.

Acknowledgements

This module is a copy of akarzim/zsh-docker-aliases by François Vantomme (MIT License).

cc @johnpneumann @cottser who have been part of those discussions

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paulmelnikow 👍 that makes sense to me, seems like a good way to acknowledge the origin of the code without signing them up to support it :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback. I agree with this. Changes are done ;)

@paulmelnikow
Copy link

I don't want to set a precedent for adding lots of new modules. However Docker is widely used, so I'd like to include it in Prezto.

I'm interested to hear what other people think.

@malikoth
Copy link

malikoth commented Mar 7, 2017

I'm very much in favor of including this. Docker seems to have swept the world, and it would be nice to have this module maintained to make it easier and faster to work with Docker.

@paulmelnikow
Copy link

Looks good to me.

@maximbaz
Copy link

I don't want to set a precedent for adding lots of new modules.

@paulmelnikow why not? #52 might take quite a long time, why prevent adding new modules until it's done? When #52 is ready, all the external plugins will likely be purged anyway.

@paulmelnikow
Copy link

Just a heads up that reviewing and merging are on pause because Sorin is open to adding maintainers to the original (#44).

johnpneumann and others added 8 commits April 2, 2017 14:09
This fixes a security issue with malicious branch names
Homebrew decided to not change the behaviour of `brew upgrade` so
`brew upgrade --all` is equivalent to `brew upgrade` without any other
arguments (so the `--all` is a no-op and can be removed).
…rin-ionescu#598)

* Support skip-virtualenvwrapper-init zstyle in python module to avoid auto-sourcing of virtualenvwrapper.sh
* Don't overwrite the WORKON_HOME env var if the user has already set it
@paulmelnikow
Copy link

@belak has started merging changes at the original. I sincerely hope this is merged! It looks like the original PR now needs to be rebased, as it seems to be tracking the same branch as this one.

Think the simplest thing would be to make a new branch, and a new PR at the original.

paulmelnikow and others added 10 commits April 4, 2017 08:46
This commit changes the way $TMPDIR is set by using `mktemp` rather
than a fixed string.
Multiplexer titles can be set independent of window and tab titles.
Add auto-title always option to have dynamic titling inside terminal
multiplexers. Setting auto-title to yes continues to ignore dynamic
titling inside terminal multiplexers.

This patch should not alter behavior under Apple terminals.
The new call is compatible with colordiff v1.0.8 - v.1.0.15 (might be
compatible with even earlier versions, but not tested), while the
original one breaks down under v1.0.14 and v1.0.15. See
daveewart/colordiff#22.
@akarzim akarzim force-pushed the modules/docker branch 2 times, most recently from e3fedfd to ce88def Compare April 5, 2017 07:51
@belak
Copy link

belak commented Apr 13, 2017

There's a bit of discussion that I'd like to see in the new PR before it gets merged... things like what aliases are worth including and how they should be organized. In short, I feel like the prezto git module aliases get a bunch of things right and I'd like to see a similar structure with the docker aliases. Anyway, discussion at the new PR (and it looks like this has been rebased against the original prezto to make that PR work), so this can probably be closed.

See sorin-ionescu#1147

@akarzim akarzim force-pushed the modules/docker branch 2 times, most recently from 2cc1bf5 to e606b09 Compare April 13, 2017 14:23
@paulmelnikow
Copy link

Merged via sorin-ionescu#1147.

@akarzim akarzim deleted the modules/docker branch March 31, 2018 10:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.