Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6339931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:44:32+00:00 2026-05-24T19:44:32+00:00

I was looking for this feature in node.js and I haven’t found it. Can

  • 0

I was looking for this feature in node.js and I haven’t found it.
Can I implement it myself? As far as I know, node.js doesn’t load any file at it’s startup (like Bash does with .bashrc) and I haven’t noticed any way to somehow override shell prompt.

Is there a way to implement it without writing custom shell?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T19:44:32+00:00Added an answer on May 24, 2026 at 7:44 pm

    You could monkey-patch the REPL. Note that you must use the callback version of the completer, otherwise it won’t work correctly:

    var repl = require('repl').start()
    var _completer = repl.completer.bind(repl)
    repl.completer = function(line, cb) {
      // ...
      _completer(line, cb)
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for some guidance on how I can recreated a this feature. what
I'm looking for some guidance on how I can recreate this feature. As you
Looking at this jQuery example, how can I modify the code so that it
I once saw this feature in action but I don't know how to turn
I am looking forward to implement NFC in iPhone. Can anyone share some sample
I need to install this feature on my webserver. this error message is looking
I'm looking to understand why Java designers chose to implement function declarations this way.
looking at this example of the jquery ui slider http://jqueryui.com/demos/slider/#steps i want to be
I've been looking for this information for my commercial desktop product, with no avail.
I'm looking at this as a baseline explanation of the SQL 2005 Enterprise partitioning.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.