From 81107b6e6348aed2f61f6c11d435d8888e8ef832 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Mon, 23 Oct 2023 08:33:09 +0200 Subject: bash-aliases: fix whiteboard using a function --- bash/dot-bash_aliases | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bash/dot-bash_aliases b/bash/dot-bash_aliases index 51b3c3f..054ec87 100644 --- a/bash/dot-bash_aliases +++ b/bash/dot-bash_aliases @@ -29,7 +29,9 @@ alias ztree='tree -I zig-cache' # Clean whiteboards! # found at: https://gist.github.com/lelandbatey/8677901 -alias whiteboard="convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2" +function whiteboard { + convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2" +} # Pandoc for ElenQ alias pandoc-xelatex="pandoc $@ --pdf-engine=xelatex --to latex -N" -- cgit v1.2.3