diff --git a/dot_config/nushell/nu_scripts/.gitattributes b/dot_config/nushell/nu_scripts/.gitattributes deleted file mode 100644 index 71fd44c..0000000 --- a/dot_config/nushell/nu_scripts/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Example of a `.gitattributes` file which reclassifies `.nu` files as Nushell: -*.nu linguist-language=Nushell diff --git a/dot_config/nushell/nu_scripts/.github/workflows/ci.yml b/dot_config/nushell/nu_scripts/.github/workflows/ci.yml deleted file mode 100644 index 8890aa0..0000000 --- a/dot_config/nushell/nu_scripts/.github/workflows/ci.yml +++ /dev/null @@ -1,27 +0,0 @@ -on: - pull_request: - -env: - NUSHELL_CARGO_PROFILE: ci - NU_LOG_LEVEL: DEBUG - -jobs: - nu-check: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: "Fetch main branch" - run: | - git fetch origin main --depth 1 - - uses: hustcer/setup-nu@v3.9 - with: - version: "*" - check-latest: true - # features: full # dataframe and extra included - - name: toolkit check pr - shell: nu {0} - # nix STUB_IDE_CHECK when nushell/nushell#12208 fixed - run: | - use ${{ github.workspace }}/toolkit.nu * - STUB_IDE_CHECK=true check pr --and-exit diff --git a/dot_config/nushell/nu_scripts/.github/workflows/image-actions.yml b/dot_config/nushell/nu_scripts/.github/workflows/image-actions.yml deleted file mode 100644 index 195761b..0000000 --- a/dot_config/nushell/nu_scripts/.github/workflows/image-actions.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Compress Images on Push to main branch -on: - push: - branches: - - main - paths: - - '**.jpg' - - '**.jpeg' - - '**.png' - - '**.webp' -jobs: - build: - name: calibreapp/image-actions - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v4.1.2 - - name: Compress Images - id: calibre - uses: calibreapp/image-actions@main - with: - pngQuality: '90' - webpQuality: '90' - jpegQuality: '90' - compressOnly: true - jpegProgressive: false - # ignorePaths: 'node_modules/**,build' - # The `GITHUB_TOKEN` is automatically generated by GitHub and scoped only to the repository that is currently running the action. By default, the action canโ€™t update Pull Requests initiated from forked repositories. - # See https://docs.github.com/en/actions/reference/authentication-in-a-workflow and https://help.github.com/en/articles/virtual-environments-for-github-actions#token-permissions - githubToken: ${{ secrets.GITHUB_TOKEN }} - - name: Create New Pull Request If Needed - if: steps.calibre.outputs.markdown != '' - uses: peter-evans/create-pull-request@v6.0.3 - with: - title: Compressed Images - branch-suffix: timestamp - commit-message: Compressed Images - body: ${{ steps.calibre.outputs.markdown }} diff --git a/dot_config/nushell/nu_scripts/.gitignore b/dot_config/nushell/nu_scripts/.gitignore deleted file mode 100644 index 0ac21c7..0000000 --- a/dot_config/nushell/nu_scripts/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -.DS_Store - -# ignore the git mailmap file -.mailmap - -check-files.nu - -.vscode/ diff --git a/dot_config/nushell/nu_scripts/LICENSE b/dot_config/nushell/nu_scripts/LICENSE deleted file mode 100644 index 25623d0..0000000 --- a/dot_config/nushell/nu_scripts/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Nushell Project - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/dot_config/nushell/nu_scripts/README.md b/dot_config/nushell/nu_scripts/README.md deleted file mode 100644 index 42a1454..0000000 --- a/dot_config/nushell/nu_scripts/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# Nushell Scripts - -This is a place to share Nushell scripts with each other. If you'd like to share your scripts, fork this repository, and [create a PR](https://github.com/nushell/nu_scripts/compare) that adds it to the repo. - -## Sections - -- [aliases](./aliases/) -- [benchmarks](./benchmarks/) -- [cool-oneliners](./sourced/cool-oneliners/) -- [custom-completions](./custom-completions/) - collection of custom completions for external commands. -- [custom-menus](./custom-menus/) - collection of custom nushell menus -- [example-config](./example-config/) -- [nu-hooks](./nu-hooks/) -- [modules](./modules/) - This has its dedicated [readme](./modules/README.md) -- [nu_101](./sourced/nu_101/) - Beginner introduction to nushell concepts. -- [prompt](./modules/prompt/) -- [themes](./themes/) - -## Running Scripts - -You can run nushell scripts in a few different ways. - -1. You can type `nu