# shellcheck disable=SC2155,SC2181,SC2016 shell=bash # vim: ft=sh ts=4 sw=0 sts=-1 et # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # A P P A R I X # # bookmarks for the command line with comprehensive tab completion # works for bash and zsh # Authors: # Stijn van Dongen # Sitaram Chamarty # Izaak van Dongen # Quick Guide: # # - save this file in $HOME/.bourne-apparix # - issue 'source $HOME/.bourne-apparix # - go to a directory and issue 'bm foo' # - you can now go to that directory by issuing 'to foo' # - you can go straight to a subdirectory 'to foo asubdirname' # - you can use tab completion: 'to foo as' # 'to foo asubdirname/' # - try tab completion and command substitution, see the examples below. # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # This Apparix is a pure shell implementation of an older system written # partly in C. This shell re-implementation is the reason why several of the # names here use apparish. I prefer to think of the abstract system itself as # apparix. Never mind! # # An overview of apparix functionality. function ahoy() { cat <