small pixel drawing of a pufferfish dotfiles

add pa extension
j3s j3s@c3f.net
Thu, 04 Feb 2021 17:52:46 -0600
commit

cba8fdf231bad6eae3439864945255051226cdc4

parent

356129b8959a9c14420db0784d98b3d588009185

1 files changed, 15 insertions(+), 0 deletions(-)

jump to
M .env.env

@@ -2,6 +2,21 @@ #!/bin/sh

PS1='$(prompt) \$ ' +# extend pa for git stuffs +pa() { + case $1 in + g*) + cd "${PA_DIR:=${XDG_DATA_HOME:=$HOME/.local/share}/pa}" + shift + git "$@" + ;; + + *) + command pa "$@" + ;; + esac +} + # needed for sway if test -z "${XDG_RUNTIME_DIR}"; then export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir