BYFCLBTK56QZTD6PBK5EQ4V7HFXHYYI5CTZZAYQDR7M2U4OUACFAC
# * Pijul command line aliases & usage notes, tested with bash.
# These help me use pijul more efficiently, by reducing typing and
# aligning with familiar commands from other VCS.
# If you'd like to try them:
# * Pijul command line aliases.
# These aliases and usage notes help me be productive with pijul.
# They are tested with bash. If you'd like to try them:
# ** pijul setup/testing
alias pjkeygen='pj key generate `whoami`'
alias pjkeyrm='rm -rf ~/Library/Application\ Support/pijul' # mac
# pjh - show help for these aliases.
pjh() { grep -E '^# (pj|\*)' "$THISFILE" ; }
# Summarise unrecorded changes (except added files). Add -u to see untracked files.
# Similar to git status -s, darcs whatsnew -s.
alias pjs='pj diff -s'
# pjconfrm - erase current user's pijul config and keys.
# shellcheck disable=SC2139
alias pjconfrm="echo 'warning: this will erase your pijul config and keys'; rm -ri \"$PIJULCONFDIR\""
# ** show unrecorded changes
# pjd - show unrecorded changes (except added files).
# Similar to git diff, darcs whatsnew.
alias pjd='pj diff'
# pjs - summarise unrecorded changes (except added files). Add -u to see untracked files.
# Similar to git status -s, darcs whatsnew -s.
alias pjs='pj diff -s'
# ** record changes
# pjrecam 'MSG' [PATHS] - record pending changes with the given message.
# Similar to git commit -am 'MSG', darcs record -am 'MSG'.
alias pjrecam='pj record -a -m'
# pjamenda [HASH] [PATHS] - add pending changes to the last recorded or specified patch.
# Similar to git commit --amend -a, darcs amend -a.
alias pjamenda='pj record -a --amend'