shell-profile
v1.0.3
Published
Get default shell profile path
Downloads
17
Maintainers
Readme
shell-profile
get default shell profile path
Usage
const shellProfile = require('shell-profile');
console.log('profile: %s', shellProfile());
//=> profile: /Users/vladimyr/.zshrc
API
Table of Contents
getProfilePath
Synchronously gets default shell profile path
Examples
const profile = require('shell-profile')();
console.log('profile: %s', profile);
//=> profile: /Users/vladimyr/.zshrc