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

Merge pull request #36 from DoomHammer/non-interactive

Only display palette when run interactively
This commit is contained in:
Mayccoll 2016-03-19 20:06:50 -05:00
commit 37750b5f89

View File

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