deepminer-cli 0.1.28 → 0.1.30
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/bin/dm-cli-darwin-amd64
CHANGED
|
Binary file
|
package/bin/dm-cli-darwin-arm64
CHANGED
|
Binary file
|
package/bin/dm-cli-linux-amd64
CHANGED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -26,6 +26,12 @@ try {
|
|
|
26
26
|
if (fs.existsSync(sourceFile)) {
|
|
27
27
|
fs.copyFileSync(sourceFile, completionFile);
|
|
28
28
|
fs.chmodSync(completionFile, 0o644);
|
|
29
|
+
|
|
30
|
+
// Clear zsh completion cache so new completions take effect
|
|
31
|
+
const zcompdumpFiles = fs.readdirSync(homeDir).filter(f => f.startsWith('.zcompdump'));
|
|
32
|
+
for (const f of zcompdumpFiles) {
|
|
33
|
+
try { fs.unlinkSync(path.join(homeDir, f)); } catch (_) {}
|
|
34
|
+
}
|
|
29
35
|
}
|
|
30
36
|
|
|
31
37
|
// Add fpath to .zshrc if not already there
|