skywind3000 / skywind3000/z.lua

关于powershell install教程中对profile.ps1文件添加Invoke-Expression时的问题

Open
#192 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
3.1k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

教程警告中只提到了startship的问题,但是貌似对于所有的prompt初始化语句倒要放在prompt初始化的后面,否则貌似都会出现问题。我在使用oh my posh时也出现了问题,但是再把invoke放在后面时问题也解决了

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the PowerShell installation tutorial and its warning about adding Invoke-Expression to profile.ps1. Confirm the ordering issue with prompt initialization, then update the warning to cover oh-my-posh and other prompt initializers; done when the guidance accurately reflects the working order.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.