Skip to content

Commit 9d03a3e

Browse files
committed
Try fixing pipeline
1 parent 0593d9e commit 9d03a3e

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

.config/yadm/bootstrap

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ if [[ ! -d "$BOOTSTRAP_D" ]]; then
2929
exit 1
3030
fi
3131

32-
find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
32+
mapfile -t bootstraps < <(find -L "$BOOTSTRAP_D" -type f | sort)
33+
for bootstrap in "${bootstraps[@]}"; do
3334
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
3435
echo "Executing file from bootstrap: $bootstrap"
3536
if ! "$bootstrap"; then

.config/yadm/bootstrap.d/fish.sh

+17-8
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,22 @@ fish -c "set -U fish_greeting 'Welcome to fish 🐟'"
1212
fish -c "set -U fish_features qmark-noglob"
1313
fish -c "echo y | fish_config theme save kanagawa"
1414

15+
if ! tty -s; then
16+
# Read null-terminated input into an array
17+
mapfile -t -d $'\0' stdin_array
18+
# Append the array elements to argv
19+
set -- "$@" "${stdin_array[@]}"
20+
fi
21+
22+
echo "$@"
23+
1524
# manage fisher plugins, this should normally work through the fish_plugins file, but sadly does not work yet
1625
fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher"
17-
fish -c "fisher install jethrokuan/z"
18-
fish -c "fisher install jorgebucaran/autopair.fish"
19-
fish -c "fisher install jorgebucaran/nvm.fish"
20-
fish -c "fisher install jorgebucaran/replay.fish"
21-
fish -c "fisher install nickeb96/puffer-fish"
22-
fish -c "fisher install lilyball/nix-env.fish"
23-
fish -c "fisher install IlanCosman/tide@v6"
24-
fish -c "tide configure --auto --style=Lean --prompt_colors='True color' --show_time='24-hour format' --lean_prompt_height='Two lines' --prompt_connection=Dotted --prompt_connection_andor_frame_color=Dark --prompt_spacing=Sparse --icons='Few icons' --transient=No"
26+
# fish -c "fisher install jethrokuan/z"
27+
# fish -c "fisher install jorgebucaran/autopair.fish"
28+
# fish -c "fisher install jorgebucaran/nvm.fish"
29+
# fish -c "fisher install jorgebucaran/replay.fish"
30+
# fish -c "fisher install nickeb96/puffer-fish"
31+
# fish -c "fisher install lilyball/nix-env.fish"
32+
# fish -c "fisher install IlanCosman/tide@v6"
33+
# fish -c "tide configure --auto --style=Lean --prompt_colors='True color' --show_time='24-hour format' --lean_prompt_height='Two lines' --prompt_connection=Dotted --prompt_connection_andor_frame_color=Dark --prompt_spacing=Sparse --icons='Few icons' --transient=No"

0 commit comments

Comments
 (0)