4

For some reason, tab-completion isn't working in psql on my Mac. I can tab complete table and field names just fine in Ubuntu, but pressing TAB fails to work in Mac OS X.

I can successfully use my Up/Down arrow keys to navigate back and forth in psql command history, so it's weird that TAB isn't working properly.

Configuration:

I can reproduce this issue even with .psqlrc disabled (psql -X).

System:

$ specs psql bash brew terminal os
Specs:

specs 0.12
https://github.com/mcandre/specs#readme

psql --version
psql (PostgreSQL) 9.3.5

bash --version
GNU bash, version 4.2.45(2)-release (i386-apple-darwin13.0.0)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

brew --version
0.9.5

system_profiler -detailLevel full 2>&1 | grep Terminal -A 5 | grep Version | head -n 1
      Version: 2.4

system_profiler SPSoftwareDataType | grep 'System Version'
      System Version: OS X 10.9.4 (13E28)
mcandre
  • 3,098

0 Answers0