#!/bin/sh
# POSIX-compatible profile for sh, dash, ksh93, pdksh, mksh, and other POSIX shells.
# Preexec hooks are not available in these shells; KEEP_META_command is not set.

KEEP_META_tty=${KEEP_META_tty:-$(tty)}

keep() {
  export KEEP_META_tty
  command keep "$@"
}

alias @='keep --save'
alias @@='keep --get'
