1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Only display palette when run interactively

This commit is contained in:
Piotr Gaczkowski 2016-03-19 18:20:26 +01:00
parent 875b1be957
commit 5bc0d0fcfa

View File

@ -186,4 +186,6 @@ function gogh_colors () {
echo ""
}
if [[ "$(dirname $(readlink -f "${*:-/dev/null}"))" == "$(dirname $(readlink -f "$0"))*" ]]; then
gogh_colors
fi