1w6 uRPG 1w6 uRPG
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • Directory

Conversation

Notices

  1. clacke clacke

    __git_ps1 takes forever to return in certain directories. I need to decide on a suitable way to make it time out. Just putting timeout in front of it doesn't work, as it's a bash function and timeout is an external…

    Sunday, 05-Jul-20 14:17:41 UTC from libranet.de
    • clacke clacke

      Oh! Wait.

      [ "$(git config --bool bash.showDirtyState)" != "false" ]

      So actually I can just configure the git repo? They already thought of that? Neat.

      Sunday, 05-Jul-20 14:21:55 UTC
    • clacke clacke

      It works! Neato!Just git config bash.showDirtyState false in any git repo that has a huge number of files checked out, and your git PS1 will always be snappy.I wish I had invested these five minutes months ago! But…

      Sunday, 05-Jul-20 14:24:32 UTC

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

1w6 uRPG is a microblogging service brought to you by Arne (Drak) Babenhauserheide. It runs the StatusNet microblogging software, version 1.1.1-release, available under the GNU Affero General Public License. The running version includes the patches from draketo.de/proj/statusnet-patches.

Creative Commons Attribution 3.0 All 1w6 uRPG content and data are available under the Creative Commons Attribution 3.0 license.