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:
commit
37750b5f89
@ -191,4 +191,6 @@ function gogh_colors () {
|
||||
echo ""
|
||||
}
|
||||
|
||||
gogh_colors
|
||||
if [[ "$(dirname $(readlink -f "${*:-/dev/null}"))" == "$(dirname $(readlink -f "$0"))*" ]]; then
|
||||
gogh_colors
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user