Skip to content

Steps Towards easier PS Core #11

Description

@TiddlyTweeter

In my latest polly-01Na-TT.ps1

  • one thing I did was go through the code and where there was hard-code of pathing I changed it from Windows to Unix/Mac style. Windows works fine with it so why not?

  • I updated lots of "aliases" in code to full cmdlet names.

  • an issue is how #CONSOLE settings are handled on different platforms. I haven't found much documentation on the topic yet. I treat it as an open issue.

  • It matters in the sense that whilst you can natively just run PS scripts, the ability to launch them from shell scripts like .bat & .sh helps unify the experience.

  • Its actually, on Windows, the console settings that permit a smooth transition, and harmonisation of look, between bat and PS script. Bat sets up run conditions.

  • I don't use either Linux or Mac so I'm a bit limited in knowing options around both the console thing or command lines in their .sh files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    mac help wantedMac expertise/feedback needed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions