commit a0abdc5c713f62511d67280a197f4719bf670082 (patch)
parent fc9fdcede664496ada98a081af0773ed08d06627
Author: Alex Karle <alex@alexkarle.com>
Date: Tue, 4 Jan 2022 23:14:56 -0500
bin: Add command shortcuts as scripts
This is preferable to alias' so that they can be used
in shell-escapes (i.e. !g d in ed(1)).
Diffstat:
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/.shrc b/.shrc
@@ -7,4 +7,3 @@ export EDITOR=ed
export VISUAL=vi
alias ll='ls -lahF'
-alias g='git'
diff --git a/bin/g b/bin/g
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec git "$@"
diff --git a/bin/p b/bin/p
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec ${PAGER:-less} "$@"