cleanups, help

simonmichael
Jan 31, 2022, 9:59 PM
BYFCLBTK56QZTD6PBK5EQ4V7HFXHYYI5CTZZAYQDR7M2U4OUACFAC

Dependencies

Change contents

  • replacement in bashrc at line 1
    [4.1][2.0:211]()
    # * 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:
    [4.1]
    [2.211]
    # * 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:
  • replacement in bashrc at line 8
    [4.81][4.81:96]()
    alias pj=pijul
    [4.81]
    [4.96]
    THISFILE=~/src/pijul-scripts/bashrc
    PIJULCONFDIR=~/Library/Application\ Support/pijul # mac
  • replacement in bashrc at line 11
    [4.97][2.307:332](),[2.332][4.116:226](),[4.116][4.116:226]()
    # ** pijul setup/testing
    alias pjkeygen='pj key generate `whoami`'
    alias pjkeyrm='rm -rf ~/Library/Application\ Support/pijul' # mac
    [4.97]
    [2.333]
    # pjh - show help for these aliases.
    pjh() { grep -E '^# (pj|\*)' "$THISFILE" ; }
  • replacement in bashrc at line 14
    [2.334][4.226:257](),[4.226][4.226:257]()
    alias pjreporm='rm -rf .pijul'
    [2.334]
    [2.335]
    # pj [CMD] - run a pijul command or show pijul's help.
    alias pj=pijul
  • replacement in bashrc at line 17
    [2.336][2.336:366]()
    # ** show working copy status
    [2.336]
    [4.257]
    # ** pijul setup/uninstall helpers
  • replacement in bashrc at line 19
    [4.258][2.367:474]()
    # Show unrecorded changes (except added files).
    # Similar to git diff, darcs whatsnew.
    alias pjd='pj diff'
    [4.258]
    [4.275]
    # pjkeygen - generate a patch-signing key for current user.
    alias pjkeygen='pj key generate `whoami`'
  • replacement in bashrc at line 22
    [4.276][2.475:606](),[2.606][4.276:299](),[4.276][4.276:299]()
    # 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'
    [4.276]
    [2.607]
    # 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\""
  • replacement in bashrc at line 26
    [2.608][2.608:628]()
    # ** record changes
    [2.608]
    [2.628]
    # # pjreporm - immediately erase pijul config and history in the current directory.
    # alias pjreporm='rm -rf .pijul'
  • replacement in bashrc at line 29
    [2.629][2.629:805]()
    # pjrecam 'MSG' - record all pending changes as a new change with the given message.
    # Similar to git commit -am 'MSG', darcs record -am 'MSG'.
    alias pjrecam='pj record -a -m'
    [2.629]
    [4.299]
    # ** list recorded patches in current repo
  • replacement in bashrc at line 31
    [4.300][2.806:1019]()
    # pjamenda [HASH] - add all pending changes to the specified or last recorded change.
    # Similar to git commit --amend -a, darcs amend -a.
    alias pjamenda='pj record -a --amend'
    # ** list changes
    # Standard list.
    [4.300]
    [4.300]
    # pjl - standard list.
  • replacement in bashrc at line 34
    [2.1021][2.1021:1056]()
    # List with full descriptions. (?)
    [2.1021]
    [4.319]
    # pjlv - list with full descriptions. (?)
  • replacement in bashrc at line 37
    [2.1058][2.1058:1082]()
    # List just the hashes.
    [2.1058]
    [4.353]
    # pjlh - list just the hashes.
  • replacement in bashrc at line 40
    [2.1084][2.1084:1156]()
    # List with summary of file changes, like git log --stat, darcs log -s.
    [2.1084]
    [2.1156]
    # pjls - list with summary of file changes.
    # Similar to git log --stat, darcs log -s.
  • replacement in bashrc at line 44
    [4.452][2.1229:1250]()
    # ** inspect changes
    [4.452]
    [2.1250]
    # ** inspect a patch
  • replacement in bashrc at line 46
    [2.1251][2.1251:1328]()
    # pjshow [HASH] - show a change, like git show [HASH], darcs log -v -h HASH.
    [2.1251]
    [2.1328]
    # pjshow [HASH] - show a patch in full.
    # Similar to git show [HASH], darcs log -v -h HASH.
  • replacement in bashrc at line 50
    [2.1354][2.1354:1450]()
    # pjshowstat [HASH] - show a change summary, like git show --stat [HASH], darcs log -v -h HASH.
    [2.1354]
    [2.1450]
    # pjshowstat [HASH] - summarise a patch.
    # Similar to git show --stat [HASH], darcs log -v -h HASH.
  • edit in bashrc at line 55
    [2.1541]
    # ** 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'
  • replacement in README.md at line 3
    [3.28][3.28:93]()
    - bashrc - command line aliases & usage notes, tested with bash.
    [3.28]
    [3.93]
    - push, pull - push/pull this repo, until I can configure a default remote
    - bashrc - command line aliases & usage notes, tested with bash
  • replacement in README.md at line 6
    [3.94][3.94:159]()
    These help me use pijul more efficiently, by reducing typing and
    [3.94]
    [3.159]
    These help me be productive with pijul, by reducing typing and