6
6
<!-- toc -->
7
7
8
8
- [ What is ddev-pimp-my-shell?] ( #what-is-ddev-pimp-my-shell )
9
+ - [ starship] ( #starship )
9
10
- [ fish] ( #fish )
10
11
- [ ddev ` post-import-db ` hook] ( #ddev-post-import-db-hook )
11
12
@@ -29,6 +30,20 @@ It also has:
29
30
30
31
- Some useful [ scripts] ( pimp-my-shell/scripts )
31
32
33
+ ## starship
34
+
35
+ If you want to use a [ Nerd font] ( https://starship.rs/presets/nerd-font ) , there
36
+ are many ways you can achieve that. I am personally editing my global
37
+ ` ~/.ddev/global_config.yaml ` on the host and adding a ` STARSHIP_CONFIG `
38
+ environment variable pointing to an alternative config file which I also added
39
+ to ` ~/.ddev/homeadditions/.config ` on the host with the content of this add-on's
40
+ [ ` starship.toml ` ] ( homeaddiotions/.config/starship.toml ) and merging it with
41
+ (` [directory] ` is in both):
42
+
43
+ ```
44
+ starship preset nerd-font-symbols
45
+ ```
46
+
32
47
## fish
33
48
34
49
This add-on installs:
@@ -38,8 +53,8 @@ This add-on installs:
38
53
39
54
For tide, it uses the default configuration, if you want to have your own on all
40
55
of your ddev projects you can create/edit
41
- ` .ddev/homeadditions/.config/fish/conf.d/mytide.fish ` with something like the
42
- following:
56
+ ` ~/ .ddev/homeadditions/.config/fish/conf.d/mytide.fish` on the host with
57
+ something like the following:
43
58
44
59
``` fish
45
60
# Doing it as a fish_prompt event to make sure it is shown the first time it's
@@ -50,7 +65,7 @@ function mytide --on-event fish_prompt
50
65
tide configure --auto --style=Classic --prompt_colors='True color' --classic_prompt_color=Light --show_time=No --classic_prompt_separators=Angled --powerline_prompt_heads=Sharp --powerline_prompt_tails=Flat --powerline_prompt_style='One line' --prompt_spacing=Compact --icons='Many icons' --transient=Yes
51
66
touch ~/.config/fish/conf.d/.mytide
52
67
end
53
- end
68
+ endkkk
54
69
```
55
70
56
71
## ddev ` post-import-db ` hook
0 commit comments