@@ -12,13 +12,22 @@ fish -c "set -U fish_greeting 'Welcome to fish 🐟'"
12
12
fish -c " set -U fish_features qmark-noglob"
13
13
fish -c " echo y | fish_config theme save kanagawa"
14
14
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
+
15
24
# manage fisher plugins, this should normally work through the fish_plugins file, but sadly does not work yet
16
25
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