LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-30-2016, 12:43 PM   #16
qunying
Member
 
Registered: Jun 2002
Distribution: Slackware
Posts: 257

Original Poster
Rep: Reputation: 147Reputation: 147

It maybe still the "PROMPT_COMMAND" problem, do you have it defined? Since I use a special variable to guard the PROMPT_COMMAND, there is no slow startup problem.

Code:
    if [ "$HH_PROMPT_COMMAND_SET" = "" ]; then
        if [ "$PROMPT_COMMAND" == "" ]; then
            export PROMPT_COMMAND="history -a; history -n"   # mem/file sync
        else
            export PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}"   # mem/file sync
        fi
        export HH_PROMPT_COMMAND_SET="yes"
    fi
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow boot times 14.1 (slackware64-current) on VMWare's vmplayer re_nelson Slackware 2 10-24-2013 02:27 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Slackware64-Current from USB? THCsphere Slackware - Installation 1 11-29-2009 03:36 AM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM
Slackware64-current on a second HD. glore2002 Slackware 7 08-23-2009 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration