diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-10-23 08:33:09 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-10-23 08:33:09 +0200 |
commit | 81107b6e6348aed2f61f6c11d435d8888e8ef832 (patch) | |
tree | ba7d1f9985adacd223053a7c4a0ddd10742dd45a /bash/dot-bash_aliases | |
parent | 5d6932393a154f694d4abadb6a40353071232be3 (diff) |
bash-aliases: fix whiteboard using a function
Diffstat (limited to 'bash/dot-bash_aliases')
-rw-r--r-- | bash/dot-bash_aliases | 4 |
1 files changed, 3 insertions, 1 deletions
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" |