1.0.0 • Published 9 years ago
hyper-greeting v1.0.0
hyper-greeting
Add a nice greeting to each new session created in Hyper.
Configuration
Edit ~/.hyper.js file and add these options:
config.greeting
A string; the command to run to output the greeting.
config.greetingArgs
An array of strings as arguments to the config.greeting.
Examples
Uses the
fortunecommand:module.exports = { config: { greeting: 'fortune', } };Uses
bashshell, pipes,fortune, andcowsay:module.exports = { config: { greeting: 'bash', greetingArgs: ['-c', 'fortune | cowsay'], } };Uses a preloaded
fishshell function:module.exports = { config: { greeting: 'fish', greetingArgs: ['-c', 'greeting'], } };
1.0.0
9 years ago