Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
hanoii committed Apr 4, 2024
1 parent 4e980e1 commit 73fe02c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,6 @@

# ddev-pimp-my-shell <!-- omit in toc -->

<!-- toc -->

- [What is ddev-pimp-my-shell?](#what-is-ddev-pimp-my-shell)
- [starship](#starship)
- [fish](#fish)
- [ddev `post-import-db` hook](#ddev-post-import-db-hook)

<!-- tocstop -->

## What is ddev-pimp-my-shell?

This a an addon that adds several nice command line utitlites I use across all
projects, making it easier/nicer to work inside the container with some initial
defaults.
Expand All @@ -30,21 +19,32 @@ It also has:

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

## starship
<!-- toc -->

- [Tweaks](#tweaks)
* [starship](#starship)
* [fish](#fish)
* [ddev `post-import-db` hook](#ddev-post-import-db-hook)

<!-- tocstop -->

## Tweaks

### starship

If you want to use a [Nerd font](https://starship.rs/presets/nerd-font), there
are many ways you can achieve that. I am personally editing my global
`~/.ddev/global_config.yaml` on the host and adding a `STARSHIP_CONFIG`
environment variable pointing to an alternative config file which I also added
to `~/.ddev/homeadditions/.config` on the host with the content of this add-on's
[`starship.toml`](homeadditions/.config/starship.toml) and merging it with
(`[directory]` is in both):
[`starship.toml`](homeadditions/.config/starship.toml) and merging it with the
output of (`[directory]` is in both):

```
starship preset nerd-font-symbols
```

## fish
### fish

This add-on installs:

Expand All @@ -68,7 +68,7 @@ function mytide --on-event fish_prompt
endkkk
```

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

I generally have import scripts that I ship either from other add-ons or
specific to projects and those scripts usually download the database from within
Expand Down

0 comments on commit 73fe02c

Please sign in to comment.