Skip to content

Commit c9e4881

Browse files
committed
renamed index.txt files to default.idx
it is probably clearer that the default index file is called "default.idx" instead of index.txt
1 parent c866871 commit c9e4881

File tree

21 files changed

+33
-33
lines changed

21 files changed

+33
-33
lines changed

doc/mission.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -442,13 +442,13 @@ which make testing easier.
442442
Those files are not included in GameShell archives.
443443

444444

445-
Adding the mission to the `index.txt` file
446-
----------------------------------------
445+
Adding the mission to the `default.idx` file
446+
------------------------------------------
447447

448448
When run without arguments GameShell will get the list of mission from the
449-
file `$GSH_ROOT/missions/index.txt`.
449+
file `$GSH_ROOT/missions/default.idx`.
450450

451-
You can give a list of `index.txt` files and mission directories as arguments
451+
You can give a list of `default.idx` files and mission directories as arguments
452452
of GameShell if you want to customize the list / order of missions. This is
453453
particularly useful when testing a new mission:
454454
```sh
@@ -464,7 +464,7 @@ Dummy missions
464464

465465
"Dummy" missions are used to share data between missions. A mission is "dummy"
466466
* either when it doesn't contain a `check.sh` script,
467-
* or it is listed with a "`!`" in front of its name in the `index.txt` file.
467+
* or it is listed with a "`!`" in front of its name in the `default.idx` file.
468468

469469
A dummy mission is used during the initialisation phase, so that it can
470470
contain a `static.sh` file. It can for example be used to share executable
@@ -483,7 +483,7 @@ cp "$MISSION_DIR/../00_shared/ascii-art/elephant.txt" "$GSH_HOME/Jungle/"
483483
```
484484

485485
_Note:_ don't forget to include dummy missions in the corresponding
486-
`index.txt` file, or it won't be included in GameShell executable archives by
486+
`default.idx` file, or it won't be included in GameShell executable archives by
487487
default.
488488

489489

i18n/start-full-help/en.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ usage:
33

44
Possible values for INDEX_FILE<n> are: $GSH_INDEX_FILES.
55

6-
If no INDEX_FILE is given, defaults to index.txt.
6+
If no INDEX_FILE is given, defaults to default.idx.
77

88
Index files are ignored when continuing from a save file.
99

i18n/start-full-help/fr.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ utilisation :
33

44
Les valeurs possibles pour INDEX_FILE<n> sont : $GSH_INDEX_FILES.
55

6-
Si aucun INDEX_FILE n'est donné, utilise index.txt par défaut.
6+
Si aucun INDEX_FILE n'est donné, utilise default.idx par défaut.
77

88
Les fichier index sont ignorés lorsqu'on reprend une session à partir d'un
99
fichier de sauvegarde.

i18n/start-help/en.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ usage:
33

44
Possible values for INDEX_FILE<n> are: $GSH_INDEX_FILES.
55

6-
If no INDEX_FILE is given, defaults to index.txt.
6+
If no INDEX_FILE is given, defaults to default.idx.
77

88
Index files are ignored when continuing from a save file.
99

i18n/start-help/fr.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ utilisation :
33

44
Les valeurs possibles pour INDEX_FILE<n> sont : $GSH_INDEX_FILES.
55

6-
Si aucun INDEX_FILE n'est donné, utilise index.txt par défaut.
6+
Si aucun INDEX_FILE n'est donné, utilise default.idx par défaut.
77

88
Les fichier index sont ignorés lorsqu'on reprend une session à partir d'un
99
fichier de sauvegarde.

lib/gsh.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ _gsh_resetstatic() {
119119
printf "." >&2
120120
fi
121121

122-
done < "$GSH_CONFIG/current_index.txt"
122+
done < "$GSH_CONFIG/index.idx"
123123
echo "" >&2
124124

125125
unset MISSION_DIR DOMAIN
File renamed without changes.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# default Gameshell missions order
22

3-
basic/index.txt
3+
basic/default.idx
44
misc/01_cal_nostradamus
55
intermediate/01_alias_la
66
misc/02_nano_journal
@@ -13,12 +13,12 @@
1313
finding_files_maze/01_ls_cd
1414
finding_files_maze/02_tree
1515
finding_files_maze/03_find_1
16-
pipe_intro_book_of_potions/index.txt
17-
processes/index.txt
18-
stdin_stdout_stderr/index.txt
19-
permissions/index.txt
16+
pipe_intro_book_of_potions/default.idx
17+
processes/default.idx
18+
stdin_stdout_stderr/default.idx
19+
permissions/default.idx
2020
finding_files_maze/04_find_2
2121
finding_files_maze/05_find_xargs_grep
22-
pipes_merchant_stall/index.txt
22+
pipes_merchant_stall/default.idx
2323
misc/03_tr_caesar_shift
2424
FINAL_MISSION
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)