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

Install pwsh(PowerShell) and the profile also in Linux and Darwin #496

Merged
merged 3 commits into from
Mar 20, 2024

Conversation

kachick
Copy link
Owner

@kachick kachick commented Mar 18, 2024

Using in WSL2 helps to maintain as https://github.com/kachick/PSFzfHistory

And testing the pwsh behavior in github actions runner...

@kachick kachick changed the title Install pwsh and the profile also in Linux and Darwin Install pwsh(PowerShell) and the profile also in Linux and Darwin Mar 18, 2024
Copy link
Contributor

⬢🦭 Staging container-image has been deployed 🚀
You can test the interactive shell 🐚 as follows.

bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/b7be2fa8bd5e1f7ed8ff5f615aa4569a291f0ccf/containers/sandbox-with-ghcr.bash') 'b7be2fa8bd5e1f7ed8ff5f615aa4569a291f0ccf'

The package detail

{
  "created_at": "2024-03-18T08:47:07Z",
  "html_url": "https://github.com/users/kachick/packages/container/home/192216147",
  "id": 192216147,
  "metadata": {
    "container": {
      "tags": [
        "20240318-084237-utc",
        "b7be2fa8bd5e1f7ed8ff5f615aa4569a291f0ccf",
        "pr-496-b7be2fa8bd5e1f7ed8ff5f615aa4569a291f0ccf"
      ]
    },
    "package_type": "container"
  },
  "name": "sha256:2c6a67237f3362c6fb028540fd6aadf376318aaf1922312814d1cdc5f8fd8cdd",
  "package_html_url": "https://github.com/users/kachick/packages/container/package/home",
  "updated_at": "2024-03-18T08:47:07Z",
  "url": "https://api.github.com/users/kachick/packages/container/home/versions/192216147"
}

This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌

Copy link
Contributor

⬢🦭 Staging container-image has been deployed 🚀
You can test the interactive shell 🐚 as follows.

bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/e3d41fc7e73cfbe73ef4939c23af9ebb6fe02602/containers/sandbox-with-ghcr.bash') 'e3d41fc7e73cfbe73ef4939c23af9ebb6fe02602'

The package detail

{
  "created_at": "2024-03-18T08:48:56Z",
  "html_url": "https://github.com/users/kachick/packages/container/home/192217133",
  "id": 192217133,
  "metadata": {
    "container": {
      "tags": [
        "20240318-084410-utc",
        "e3d41fc7e73cfbe73ef4939c23af9ebb6fe02602",
        "pr-496-e3d41fc7e73cfbe73ef4939c23af9ebb6fe02602"
      ]
    },
    "package_type": "container"
  },
  "name": "sha256:67bf50f1adf57ea770cf865519e985d482a113ccb388532c8b81cb41d54224e5",
  "package_html_url": "https://github.com/users/kachick/packages/container/package/home",
  "updated_at": "2024-03-18T08:48:56Z",
  "url": "https://api.github.com/users/kachick/packages/container/home/versions/192217133"
}

This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌

Copy link
Contributor

⬢🦭 Staging container-image has been deployed 🚀
You can test the interactive shell 🐚 as follows.

bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/1dcd598a3954865ffc79ccee049011a8b11adc3a/containers/sandbox-with-ghcr.bash') '1dcd598a3954865ffc79ccee049011a8b11adc3a'

The package detail

{
  "created_at": "2024-03-18T08:49:07Z",
  "html_url": "https://github.com/users/kachick/packages/container/home/192217236",
  "id": 192217236,
  "metadata": {
    "container": {
      "tags": [
        "20240318-084445-utc",
        "1dcd598a3954865ffc79ccee049011a8b11adc3a",
        "pr-496-1dcd598a3954865ffc79ccee049011a8b11adc3a"
      ]
    },
    "package_type": "container"
  },
  "name": "sha256:95512f417f2a950e48158a97c767aa13dc081fc62e3361d6bb9d1b7b41349f35",
  "package_html_url": "https://github.com/users/kachick/packages/container/package/home",
  "updated_at": "2024-03-18T08:49:07Z",
  "url": "https://api.github.com/users/kachick/packages/container/home/versions/192217236"
}

This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌

@@ -108,6 +108,10 @@
# Not under "starship/starship.toml"
xdg.configFile."starship.toml".source = ../config/starship/starship.toml;

# No home-manager module exists https://github.com/nix-community/home-manager/issues/2890
# TODO: Automate that needs to call `Install-Module -Name PSFzfHistory` first
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah... in non windows, the readline module does not work... 😢

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kachick
Copy link
Owner Author

kachick commented Mar 20, 2024

Give it a try!

@kachick kachick merged commit c8df8b5 into main Mar 20, 2024
17 checks passed
@kachick kachick deleted the unixlike-pwsh branch March 20, 2024 11:19
Copy link
Contributor

🤖 removed 🗑️ staging ⬢ from ghcr.io

192217236,192217133,192216147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant