From 73fe02c3ca6756321ebb5679c0fc2a619abb35c5 Mon Sep 17 00:00:00 2001 From: Ariel Barreiro Date: Thu, 4 Apr 2024 09:37:31 -0300 Subject: [PATCH] README --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 7ea30f0..fec286f 100644 --- a/README.md +++ b/README.md @@ -3,17 +3,6 @@ # ddev-pimp-my-shell - - -- [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) - - - -## 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. @@ -30,21 +19,32 @@ It also has: - Some useful [scripts](pimp-my-shell/scripts) -## starship + + +- [Tweaks](#tweaks) + * [starship](#starship) + * [fish](#fish) + * [ddev `post-import-db` hook](#ddev-post-import-db-hook) + + + +## 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: @@ -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