BSD Ports

sysutils/py-keep 2.10.1_2 DragonFly

Personal shell command keeper

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
python, sysutils
Package size
26.6 KiB, 114.9 KiB installed

Description

keep is a Meta CLI Toolkit that provides a personal shell command keeper with some useful features:

* Save a new command with a brief description * Search the saved commands using powerful patterns * Save the commands as a secret GitHub gist * Use keep push and keep pull to sync the commands between GitHub gist and other computers.

In the other systems

SystemPortVersion
DragonFlysysutils/py-keep2.10.1_2
FreeBSDsysutils/py-keep2.11_1

Install

Binary package:

pkg install py311-keep

From DPorts:

cd /usr/dports/sysutils/py-keep && make install clean

Dependencies

Run dependencies 5
Required by 1

Configuration

No options to configure.

Service scripts
none

Message after installing

keep was installed and there are some notes:

1. To enable command-line completion (TAB completion) follow these steps for
   the shell of your choice:

   bash instructions:

   1. Create a directory in your home directory called .bash

      mkdir -p ~/.bash

   2. Copy /usr/local/share/keep/completions/keep.bash to ~/.bash/keep

      cp /usr/local/share/keep/completions/keep.bash ~/.bash/keep

   3. Add the following lines to ~/.bash_profile file

      [ -f "$HOME/.bash/keep" ] && . "$HOME/.bash/keep"

   zsh instructions:

   1. Create a directory in your home called .zsh

      mkdir -p ~/.zsh

   2. Copy /usr/local/share/keep/completions/keep.zsh to ~/.zsh/_keep

      cp /usr/local/share/keep/completions/keep.zsh ~/.zsh/_keep

   3. Add the following lines inside ~/.zshrc file

      fpath=($HOME/.zsh $fpath)
      autoload -Uz compinit && compinit

2. See also the official keep tutorial:

   * https://github.com/OrkoHunter/keep/blob/master/tutorial.md