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

Enable globstar by default #909

Open
pd93 opened this issue Oct 27, 2022 · 0 comments
Open

Enable globstar by default #909

pd93 opened this issue Oct 27, 2022 · 0 comments
Labels
dep: mvdan/sh Issues related to the upstream interpreter used by Task. type: breaking change Changes that are not backward compatible. type: enhancement A change to an existing feature or functionality.

Comments

@pd93
Copy link
Member

pd93 commented Oct 27, 2022

As per the discussions on Discord and in #908, we should consider enabling shopt -s globstar by default for shell commands. This will enable functionality like this:

tasks:
  default:
    cmds:
      - echo ./**

without having to do this:

tasks:
  default:
    cmds:
      - shopt -s globstar && echo ./**
@pd93 pd93 added type: enhancement A change to an existing feature or functionality. dep: mvdan/sh Issues related to the upstream interpreter used by Task. type: breaking change Changes that are not backward compatible. labels Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dep: mvdan/sh Issues related to the upstream interpreter used by Task. type: breaking change Changes that are not backward compatible. type: enhancement A change to an existing feature or functionality.
Projects
None yet
Development

No branches or pull requests

1 participant