Skip to content

woblerr/pgbackrest-bash-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

pgBackRest Bash Completion

A script that adds bash completion for pgBackRest (https://pgbackrest.org).

Usage

  • Simple use:

    source /path/to/pgbackrest-completion.sh
  • For permanent use:

    Copy pgbackrest-completion.sh in your bash_completion.d folder (/etc/bash_completion.d, /usr/local/etc/bash_completion.d or ~/bash_completion.d).

    Or load pgbackrest-completion.sh file in your ~/.bashrc or ~/.profile:

    echo "source /path/to/pgbackrest-completion.sh" >> ~/.bashrc

Simple demo

demo