Skip to content

Node library for retrieving default shell profile path

License

Notifications You must be signed in to change notification settings

vladimyr/shell-profile

Repository files navigation

shell-profile build status install size npm package version github license js semistandard style

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

Returns Promise<String?> profile path

About

Node library for retrieving default shell profile path

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published