Skip to content

Commit b308a94

Browse files
committed
Use default env settings (.envrc) for c-search script
1 parent d1e52d5 commit b308a94

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/c-search

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/sh
2-
ENV_FILE=".env"
2+
ENVRC_FILE=".envrc"
33

4-
if [ ! -f "$ENV_FILE" ]; then
5-
echo "$ENV_FILE が見つかりません"
4+
if [ ! -f "$ENVRC_FILE" ]; then
5+
echo "$ENVRC_FILE が見つかりません"
66
exit 1
77
fi
88

9-
source "$ENV_FILE"
9+
source "$ENVRC_FILE"
1010

1111
if [ -z "$FIXIE_URL" ]; then
1212
echo "FIXIE_URL が設定されていません"

0 commit comments

Comments
 (0)