Skip to content

bolthole/zrep-completion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The zrep-completion repository

This 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/bolthole/zrep-completion/master/src/zrep

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

sudo make install

Any new shell started after the install will have Bash completion for ZREP activated.

Acknowlegements

Thanks is hereby given to Martin Lantz for contributing this code

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%