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

Port before_v0.60/config_management before_v0.60/language before_v0.60/prompt before_v0.60/tests #851

Merged

Commits on May 26, 2024

  1. move modules, 12 files

    39555 committed May 26, 2024
    Configuration menu
    Copy the full SHA
    370d66a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3556e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b50880 View commit details
    Browse the repository at this point in the history
  4. port language module: playground/lib.nu and std/date.nu

    `playground/lib.nu`
    - `str collect` -> `str join`
    - `$nu.env | default ...` -> `$env | get -i ... | default`
    - `$false` -> `false`
    - `block` -> `closure`
    - explicit print
    - `if {} {}` -> `if {} else {}`
    - `each {} | all?` -> all {}
    - remove strange missing `$title`, add `$topic` argument
    - add `any` -> `list<any>`
    - move `length == length` first, then `zip`
    - `zip | pivot` -> `zip`
    
    `std/date.nu`
    - `date format` -> `format date`
    39555 committed May 26, 2024
    Configuration menu
    Copy the full SHA
    b61ad9e View commit details
    Browse the repository at this point in the history
  5. port tests/language/std/date.nu

    39555 committed May 26, 2024
    Configuration menu
    Copy the full SHA
    a64329b View commit details
    Browse the repository at this point in the history
  6. remove config_management

    This is not necessary anymore because nu already has `config env` and `config nu` commands and no longer uses the config.toml format
    39555 committed May 26, 2024
    Configuration menu
    Copy the full SHA
    8b8b1f7 View commit details
    Browse the repository at this point in the history
  7. move tests/language/std/date.nu -> modules/language/std/date.nu

    - remove `main.nu`, there was only `source date.nu`
    - adjust script for `playgroud/lib`
    39555 committed May 26, 2024
    Configuration menu
    Copy the full SHA
    71ceb75 View commit details
    Browse the repository at this point in the history
  8. move git_status_prompt.nu and left_and_right_prompt.nu from `sour…

    …ced` to `modules/prompt`
    
    merge with the existing `prompt` module
    
    - Remove the old README.md
    39555 committed May 26, 2024
    Configuration menu
    Copy the full SHA
    3089585 View commit details
    Browse the repository at this point in the history
  9. export commands in prompt module

    add `export` keyword for:
    
    - `def git-status-prompt` in `git_status_prompt.nu`
    - `def construct_prompt` in `left_and_right_prompt.nu`
    39555 committed May 26, 2024
    Configuration menu
    Copy the full SHA
    3470fe4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    57aead8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    abb4937 View commit details
    Browse the repository at this point in the history
  12. export command from language/std/date.nu

    - change `source` -> `use` in `tests/date`
    39555 committed May 26, 2024
    Configuration menu
    Copy the full SHA
    692b8f2 View commit details
    Browse the repository at this point in the history