UNPKG

463 Bapplication/x-shView Raw
1#!/usr/bin/env bash
2
3# Color variables. Use `echo -e` to allow the backslash escapes in these variables.
4# Example:
5# $ printf "I ${RED}love${NC} Duxis\n"
6#
7RED='\033[0;31m'
8NC='\033[0m' # No Color
9
10case $(uname -s) in
11 Darwin)
12 ./scripts/install-completion.darwin.sh
13 ;;
14 Linux)
15 ./scripts/install-completion.linux.sh
16 ;;
17 *)
18 printf "${RED}Installation of dx auto-completion is not yet supported on '$(uname -s)'${NC}. We welcome PRs!\n"
19esac