Skip to main content
nerdbynature
  • Archives
  • Tags
  • RSS feed
  • Atom feed
  • Imprint

    bash completion leaves tty echo off after tail -f

    2010-12-18 08:12

    Ah, this one bothered me for a while now, finally found it: Apparently when using bash-completion, Apple's /bin/bash gets confused after using e.g. "tail". From #25968:

    $ . /opt/local/etc/bash_completion
    $ tail -f .prof<TAB>ile
    ^C
    
    After this (you have to use tab-completion to reach .profile), echo seems to be off. To fix this, simply type
      stty echo
    
    or
      reset
    
    and echo should be on again.
    • Newer posts
    • Older posts
    Contents © 2023 - Powered by Nikola