MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getConfigFile

Function getConfigFile

source code/utils/bash/ShellSnapshot.ts:183–193  ·  view source on GitHub ↗
(shellPath: string)

Source from the content-addressed store, hash-verified

181}
182
183function getConfigFile(shellPath: string): string {
184 const fileName = shellPath.includes('zsh')
185 ? '.zshrc'
186 : shellPath.includes('bash')
187 ? '.bashrc'
188 : '.profile'
189
190 const configPath = join(os.homedir(), fileName)
191
192 return configPath
193}
194
195/**
196 * Generates user-specific snapshot content (functions, options, aliases)

Callers 2

getSnapshotScriptFunction · 0.85
createAndSaveSnapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected