Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.35 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.35 KB

The zrep-completion repository

This (non-official) repository provides Bash completion for ZREP. Bash is the Bourne Again SHell. Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). Bash completion is a functionality through which Bash helps users type their commands more quickly and easily. It does this by presenting possible options when users press the Tab key while typing a command. ZREP provides a robust yet easy to use cross-platform ZFS based replication and fail-over solution.

Features

Bash completion for ZREP, completes

  • commands
  • options
  • datasets
  • snapshots
  • hosts

Installation

Installation is simple. Just copy the Bash completion file into the Bash completion directory, which is /etc/bash_completion.d in many Linux distributions.

One way to achieve this is to download the file directly from GitHub.

sudo wget -O /etc/bash_completion.d/zrep https://raw.githubusercontent.com/mlan/zrep-completion/master/src/zrep

Alternatively you can clone this repository, cd into it and type:

sudo make install

Any new shell will have Bash completion for ZREP activated.