commit 74bc75bf98853c9637048dfb599fa07ce8f27364 parent ff5090c61f835ca4927330756a4a3bb813fbf359 Author: Klemens Nanni <kl3@posteo.org> Date: Sun, 22 Oct 2017 14:20:23 +0200 Define view as function not alias Bash does not expand the alias and tries to use view(1). Diffstat:
M | spm | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/spm b/spm @@ -69,7 +69,9 @@ munge() { esac } -alias view='less -EiKRX' +view() { + less -EiKRX +} ## Commands add() {