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

Add import command #50

Closed
twpayne opened this issue Dec 2, 2018 · 0 comments
Closed

Add import command #50

twpayne opened this issue Dec 2, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@twpayne
Copy link
Owner

twpayne commented Dec 2, 2018

It's occasionally useful to unpack a tarball in to your home directory, for example to add a vim or zsh plugin.

chezmoi should have an import command that takes a tarball and unpacks it into the source directory, doing any necessary renames.

Example usage:

$ wget https://github.com/robbyrussell/oh-my-zsh/archive/master.tar.gz
$ chezmoi import --strip-components=1 master.tar.gz ~/.oh-my-zsh
@twpayne twpayne added the enhancement New feature or request label Dec 2, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant