alks-cli icon indicating copy to clipboard operation
alks-cli copied to clipboard

Windows Users using GitBash Need Export Not Set

Open say25 opened this issue 5 years ago • 2 comments

On Windows when using GitBash, Linux terminology export is used instead of set.

Ideally we would provide the ability to set an override setting to use Export over Set.

Example: https://github.com/Cox-Automotive/alks-cli/blob/de622cc267f90dd9e85c28cd8d79a558207f91f2/lib/keys.js#L256

say25 avatar Apr 16 '20 01:04 say25

To gather more info, most users on Windows are utilizing Powershell without issue - is there a reason that you cannot utilize Powershell in this use case?

aaron-seitz avatar May 29 '20 18:05 aaron-seitz

I mean yea I can use Powershell but there are other cons. For example, we have bash scripts that are used cross OS that are easier to implement in bash (yes with Powershell Core you can have powershell on Linux and macOS but it is less popular). So in a bash shell, I can be running some commands, get to a point when I need to re-login and basically have to switch to Chrome to get the bash exports because calling alks ... will give me Powershell specific commands

say25 avatar May 29 '20 18:05 say25