@ogulcancelik/pi-minimal-footer 0.1.8 → 0.1.9
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.
- package/index.ts +1 -1
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -1000,7 +1000,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
1000
1000
|
const { percentage, used: ctxUsed, total: ctxTotal } = getContextInfo(ctx);
|
|
1001
1001
|
|
|
1002
1002
|
// Build parts for status line
|
|
1003
|
-
let pwd =
|
|
1003
|
+
let pwd = ctx.cwd;
|
|
1004
1004
|
const home = process.env.HOME || process.env.USERPROFILE;
|
|
1005
1005
|
if (home && pwd.startsWith(home)) {
|
|
1006
1006
|
pwd = `~${pwd.slice(home.length)}`;
|