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

Implement "not" semantics for specifying which aspects to install #127

Closed
wincent opened this issue Jul 26, 2022 · 0 comments
Closed

Implement "not" semantics for specifying which aspects to install #127

wincent opened this issue Jul 26, 2022 · 0 comments
Labels

Comments

@wincent
Copy link
Owner

wincent commented Jul 26, 2022

Use case

On a machine that is already set-up, I want to re-install everything except the homebrew aspect, because that one is terribly slow.

Workaround

For now, I do this:

  1. Run ./install
  2. When it gets to the Homebrew prompt (this is the one interactive part of the install), abort.
  3. Run the rest of the install by spelling out all the aspects that follow the homebrew one; ie:
    ./install iterm node karabiner launchd ruby shell ssh tampermonkey terminfo nvim cron automator automount defaults
    

Desired alternative

What I'd like to be able to do is:

./install '!homebrew'

or:

./install ^homebrew

ie. the semantics would be "whatever aspects you were going to install, subtract this one from it. That is ./install nvim dotfiles ^nvim, although pointless, would be equivalent to ./install dotfiles.

@wincent wincent added the feat label Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant