Skip to content

Commit 5e907cb

Browse files
committed
README
1 parent ab7c626 commit 5e907cb

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

README.md

+18-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<!-- toc -->
77

88
- [What is ddev-pimp-my-shell?](#what-is-ddev-pimp-my-shell)
9+
- [starship](#starship)
910
- [fish](#fish)
1011
- [ddev `post-import-db` hook](#ddev-post-import-db-hook)
1112

@@ -29,6 +30,20 @@ It also has:
2930

3031
- Some useful [scripts](pimp-my-shell/scripts)
3132

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+
3247
## fish
3348

3449
This add-on installs:
@@ -38,8 +53,8 @@ This add-on installs:
3853

3954
For tide, it uses the default configuration, if you want to have your own on all
4055
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:
4358

4459
```fish
4560
# 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
5065
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
5166
touch ~/.config/fish/conf.d/.mytide
5267
end
53-
end
68+
endkkk
5469
```
5570

5671
## ddev `post-import-db` hook

0 commit comments

Comments
 (0)