Add inkscape alias when flatpack exists

This will allow calling flatpack easily for svg manipulation of emojis
This commit is contained in:
Gal Szkolnik 2022-06-19 22:42:56 -04:00
parent b91b7b7a4a
commit 150f819494
1 changed files with 2 additions and 0 deletions

View File

@ -8,3 +8,5 @@ alias l='ls -CF'
alias lessr="less --raw-control-chars "
alias sz-edshrc="ed ~/.sz.shrc.d ; exec $SHELL"
[[ -z "$(env inkscape 2> /dev/null)" && -n "$(flatpak info org.inkscape.Inkscape 2> /dev/null)" ]] && alias inkscape="flatpak run org.inkscape.Inkscape "