superxcgm / xcShell

Your own shell
1 stars 1 forks source link

Command execute and collect result (`git push origin "$(git_current_branch)"`) #57

Open superxcgm opened 3 years ago

superxcgm commented 3 years ago

Epic

Process

Description

User can add $(command and args) in double quote string, shell should able to execute it and replace it with it's result.

AC

  1. Single command Given: echo "$(git_current_branch)" When: Then:

  2. Complex command Given: echo "$(echo '1 + 1' | bc)" When: Then:

  3. `