tmex-cli 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52009,13 +52009,16 @@ function getLocalShellPath() {
52009
52009
  return defaultLocalShellPathCache.get();
52010
52010
  }
52011
52011
  function buildLocalTmuxEnv(resolvedPath, baseEnv = process.env) {
52012
- if (!resolvedPath) {
52013
- return { ...baseEnv };
52014
- }
52015
- return {
52016
- ...baseEnv,
52017
- PATH: resolvedPath
52012
+ const nextEnv = {
52013
+ ...baseEnv
52018
52014
  };
52015
+ if (resolvedPath) {
52016
+ nextEnv.PATH = resolvedPath;
52017
+ }
52018
+ if (!nextEnv.LC_CTYPE && !nextEnv.LC_ALL && !nextEnv.LANG) {
52019
+ nextEnv.LC_CTYPE = "en_US.UTF-8";
52020
+ }
52021
+ return nextEnv;
52019
52022
  }
52020
52023
 
52021
52024
  // ../../apps/gateway/src/tmux/ssh-auth.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tmex-cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "tmex": "./bin/tmex.js",