Skip to content

Instantly share code, notes, and snippets.

@tkalfigo
Last active February 1, 2017 14:35
Show Gist options
  • Save tkalfigo/5695629 to your computer and use it in GitHub Desktop.
Save tkalfigo/5695629 to your computer and use it in GitHub Desktop.
Place in .bashrc so that psql can navigate using cursor keys result sets that are wider than your terminal.
#Place this in ~/.bashrc or ~/.bash_profile so that psql can show rows that are wider than the terminal using cursor keys
export PAGER=less;
export LESS='-iMFXSx4R';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment