diff options
author | Matan Kushner <hello@matchai.dev> | 2022-03-08 21:11:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 21:11:36 -0500 |
commit | db48cf7a5ab3cd7101da1876d3aa1759cfd4ccfc (patch) | |
tree | a93ac170f127b72c9e3cd1a4c4d5e379f3022e42 /docs/nl-NL | |
parent | 77f2f564815ff260c97489998452e808c378c17b (diff) |
docs(i18n): new Crowdin updates (#3677)
Diffstat (limited to 'docs/nl-NL')
-rw-r--r-- | docs/nl-NL/README.md | 3 | ||||
-rw-r--r-- | docs/nl-NL/config/README.md | 50 | ||||
-rw-r--r-- | docs/nl-NL/faq/README.md | 2 | ||||
-rw-r--r-- | docs/nl-NL/guide/README.md | 4 | ||||
-rw-r--r-- | docs/nl-NL/installing/README.md | 2 | ||||
-rw-r--r-- | docs/nl-NL/presets/README.md | 530 | ||||
-rw-r--r-- | docs/nl-NL/presets/bracketed-segments.md | 13 | ||||
-rw-r--r-- | docs/nl-NL/presets/nerd-font.md | 17 | ||||
-rw-r--r-- | docs/nl-NL/presets/no-runtimes.md | 13 | ||||
-rw-r--r-- | docs/nl-NL/presets/plain-text.md | 13 | ||||
-rw-r--r-- | docs/nl-NL/presets/pure-preset.md | 13 |
11 files changed, 121 insertions, 539 deletions
diff --git a/docs/nl-NL/README.md b/docs/nl-NL/README.md index d54da4450..9017975d2 100644 --- a/docs/nl-NL/README.md +++ b/docs/nl-NL/README.md @@ -42,8 +42,9 @@ description: Starship is the minimal, blazing fast, and extremely customizable p With Shell: ```sh - sh -c "$(curl -fsSL https://starship.rs/install.sh)" + curl -sS https://starship.rs/install.sh | sh ``` + Om Starship zelf bij te werken, voer je het bovenstaande script opnieuw uit. Deze vervangt de huidige versie zonder de configuratie van Starship aan te passen. diff --git a/docs/nl-NL/config/README.md b/docs/nl-NL/config/README.md index 76666094f..5a2bd8a19 100644 --- a/docs/nl-NL/config/README.md +++ b/docs/nl-NL/config/README.md @@ -1404,25 +1404,32 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' The `git_status` module shows symbols representing the state of the repo in your current directory. +::: tip + +The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment. You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths. + +::: + ### Options -| Option | Default | Description | -| ------------------- | ----------------------------------------------- | ----------------------------------- | -| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | -| `conflicted` | `"="` | This branch has merge conflicts. | -| `ahead` | `"⇡"` | The format of `ahead` | -| `behind` | `"⇣"` | The format of `behind` | -| `diverged` | `"⇕"` | The format of `diverged` | -| `up_to_date` | `""` | The format of `up_to_date` | -| `untracked` | `"?"` | The format of `untracked` | -| `stashed` | `"$"` | The format of `stashed` | -| `modified` | `"!"` | The format of `modified` | -| `staged` | `"+"` | The format of `staged` | -| `renamed` | `"»"` | The format of `renamed` | -| `deleted` | `"✘"` | The format of `deleted` | -| `style` | `"bold red"` | The style for the module. | -| `ignore_submodules` | `false` | Ignore changes to submodules. | -| `disabled` | `false` | Disables the `git_status` module. | +| Option | Default | Description | +| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` | +| `conflicted` | `"="` | This branch has merge conflicts. | +| `ahead` | `"⇡"` | The format of `ahead` | +| `behind` | `"⇣"` | The format of `behind` | +| `diverged` | `"⇕"` | The format of `diverged` | +| `up_to_date` | `""` | The format of `up_to_date` | +| `untracked` | `"?"` | The format of `untracked` | +| `stashed` | `"$"` | The format of `stashed` | +| `modified` | `"!"` | The format of `modified` | +| `staged` | `"+"` | The format of `staged` | +| `renamed` | `"»"` | The format of `renamed` | +| `deleted` | `"✘"` | The format of `deleted` | +| `style` | `"bold red"` | The style for the module. | +| `ignore_submodules` | `false` | Ignore changes to submodules. | +| `disabled` | `false` | Disables the `git_status` module. | +| `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. | ### Variables @@ -1486,6 +1493,15 @@ diverged = "⇕⇡${ahead_count}⇣${behind_count}" behind = "⇣${count}" ``` +Use Windows Starship executable on Windows paths in WSL + +```toml +# ~/.config/starship.toml + +[git_status] +windows_starship = '/mnt/c/Users/username/scoop/apps/starship/current/starship.exe' +``` + ## Go The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met: diff --git a/docs/nl-NL/faq/README.md b/docs/nl-NL/faq/README.md index 89ffc1ac6..19d266835 100644 --- a/docs/nl-NL/faq/README.md +++ b/docs/nl-NL/faq/README.md @@ -53,7 +53,7 @@ The prompt will use as much context as is provided, but no flags are "required". If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`: ```sh -sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl +curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl ``` ## Why do I see `Executing command "..." timed out.` warnings? diff --git a/docs/nl-NL/guide/README.md b/docs/nl-NL/guide/README.md index 662a92a46..d34bbdbcb 100644 --- a/docs/nl-NL/guide/README.md +++ b/docs/nl-NL/guide/README.md @@ -201,7 +201,7 @@ Install Starship using any of the following package managers: Install the latest version for your system: ```sh -sh -c "$(curl -fsSL https://starship.rs/install.sh)" +curl -sS https://starship.rs/install.sh | sh ``` Alternatively, install Starship using any of the following package managers: @@ -230,7 +230,7 @@ Alternatively, install Starship using any of the following package managers: Install the latest version for your system: ```sh -sh -c "$(curl -fsSL https://starship.rs/install.sh)" +curl -sS https://starship.rs/install.sh | sh ``` Alternatively, install Starship using any of the following package managers: diff --git a/docs/nl-NL/installing/README.md b/docs/nl-NL/installing/README.md index cc75ef908..39834d1b9 100644 --- a/docs/nl-NL/installing/README.md +++ b/docs/nl-NL/installing/README.md @@ -32,7 +32,7 @@ pkg install getconf ### Installation ```sh -sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin +curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin ``` ## [Funtoo Linux](https://www.funtoo.org/Welcome) diff --git a/docs/nl-NL/presets/README.md b/docs/nl-NL/presets/README.md index 02ebc5470..12f5d20bf 100644 --- a/docs/nl-NL/presets/README.md +++ b/docs/nl-NL/presets/README.md @@ -2,538 +2,34 @@ Here is a collection of community-submitted configuration presets for Starship. If you have a preset to share, please [submit a PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) updating this file! 😊 -## Nerd Font Symbols +To get details on how to use a preset, simply click on the image. -This preset doesn't change anything except for the symbols used for each module. If emojis aren't your thing, this might catch your eye! +## [Nerd Font Symbols](./nerd-font) -![Screenshot of Nerd Font Symbols preset](/presets/nerd-font-symbols.png) +This preset changes the symbols for each module to use Nerd Font symbols. -### Benodigdheden +[![Screenshot of Nerd Font Symbols preset](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font) -- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font) - -### Configuration - -```toml -[aws] -symbol = " " - -[conda] -symbol = " " - -[dart] -symbol = " " - -[directory] -read_only = " " - -[docker_context] -symbol = " " - -[elixir] -symbol = " " - -[elm] -symbol = " " - -[git_branch] -symbol = " " - -[golang] -symbol = " " - -[hg_branch] -symbol = " " - -[java] -symbol = " " - -[julia] -symbol = " " - -[memory_usage] -symbol = " " - -[nim] -symbol = " " - -[nix_shell] -symbol = " " - -[nodejs] -symbol = " " - -[package] -symbol = " " - -[perl] -symbol = " " - -[php] -symbol = " " - -[python] -symbol = " " - -[ruby] -symbol = " " - -[rust] -symbol = " " - -[scala] -symbol = " " - -[shlvl] -symbol = " " - -[swift] -symbol = "ﯣ " -``` - -## Bracketed Segments +## [Bracketed Segments](./bracketed-segments) This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.). -Before: - -![Screenshot of default Starship configuration](/presets/bracketed-segments-before.png) - -After: - -![Screenshot of Bracketed Segments preset](/presets/bracketed-segments-after.png) - -### Configuration - -```toml -[aws] -format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]' - -[cmake] -format = '\[[$symbol($version)]($style)\]' - -[cmd_duration] -format = '\[[⏱ $duration]($style)\]' - -[cobol] -format = '\[[$symbol($version)]($style)\]' - -[conda] -format = '\[[$symbol$environment]($style)\]' - -[crystal] -format = '\[[$symbol($version)]($style)\]' - -[dart] -format = '\[[$symbol($version)]($style)\]' - -[deno] -format = '\[[$symbol($version)]($style)\]' - -[docker_context] -format = '\[[$symbol$context]($style)\]' - -[dotnet] -format = '\[[$symbol($version)(🎯 $tfm)]($style)\]' - -[elixir] -format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]' - -[elm] -format = '\[[$symbol($version)]($style)\]' - -[erlang] -format = '\[[$symbol($version)]($style)\]' - -[gcloud] -format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]' - -[git_branch] -format = '\[[$symbol$branch]($style)\]' - -[git_status] -format = '([\[$all_status$ahead_behind\]]($style))' - -[golang] -format = '\[[$symbol($version)]($style)\]' - -[helm] -format = '\[[$symbol($version)]($style)\]' - -[hg_branch] -format = '\[[$symbol$branch]($style)\]' - -[java] -format = '\[[$symbol($version)]($style)\]' - -[julia] -format = '\[[$symbol($version)]($style)\]' - -[kotlin] -format = '\[[$symbol($version)]($style)\]' - -[kubernetes] -format = '\[[$symbol$context( \($namespace\))]($style)\]' - -[lua] -format = '\[[$symbol($version)]($style)\]' - -[memory_usage] -format = '\[$symbol[$ram( | $swap)]($style)\]' - -[nim] -format = '\[[$symbol($version)]($style)\]' - -[nix_shell] -format = '\[[$symbol$state( \($name\))]($style)\]' - -[nodejs] -format = '\[[$symbol($version)]($style)\]' - -[ocaml] -format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]' - -[openstack] -format = '\[[$symbol$cloud(\($project\))]($style)\]' - -[package] -format = '\[[$symbol$version]($style)\]' - -[perl] -format = '\[[$symbol($version)]($style)\]' - -[php] -format = '\[[$symbol($version)]($style)\]' - -[pulumi] -format = '\[[$symbol$stack]($style)\]' - -[purescript] -format = '\[[$symbol($version)]($style)\]' - -[python] -format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]' - -[red] -format = '\[[$symbol($version)]($style)\]' - -[ruby] -format = '\[[$symbol($version)]($style)\]' - -[rust] -format = '\[[$symbol($version)]($style)\]' - -[scala] -format = '\[[$symbol($version)]($style)\]' - -[sudo] -format = '\[[as $symbol]\]' - -[swift] -format = '\[[$symbol($version)]($style)\]' - -[terraform] -format = '\[[$symbol$workspace]($style)\]' - -[time] -format = '\[[$time]($style)\]' - -[username] -format = '\[[$user]($style)\]' - -[vagrant] -format = '\[[$symbol($version)]($style)\]' - -[vlang] -format = '\[[$symbol($version)]($style)\]' - -[zig] -format = '\[[$symbol($version)]($style)\]' -``` - -## Plain Text Symbols +[![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./bracketed-segments) -This preset changes the symbols into plain text. If your terminal/font could not render the NerdFonts/emojis, maybe you could try this preset! +## [Plain Text Symbols](./plain-text) -Before (default setting with Fixedsys font): +This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode. -![Screenshot of default Starship configuration with Fixedsys font](/presets/plain-text-symbols-before.png) +[![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text) -After (Plain Text Symbols): - -![Screenshot of Plain Text Symbols preset](/presets/plain-text-symbols-after.png) - -### Configuration - -```toml -[character] -success_symbol = "[>](bold green)" -error_symbol = "[x](bold red)" -vicmd_symbol = "[<](bold green)" - -[git_commit] -tag_symbol = " tag " - -[git_status] -ahead = ">" -behind = "<" -diverged = "<>" -renamed = "r" -deleted = "x" - -[aws] -symbol = "aws " - -[cobol] -symbol = "cobol " - -[conda] -symbol = "conda " - -[crystal] -symbol = "cr " - -[cmake] -symbol = "cmake " - -[dart] -symbol = "dart " - -[deno] -symbol = "deno " - -[dotnet] -symbol = ".NET " - -[directory] -read_only = " ro" - -[docker_context] -symbol = "docker " - -[elixir] -symbol = "exs " - -[elm] -symbol = "elm " - -[git_branch] -symbol = "git " - -[golang] -symbol = "go " - -[hg_branch] -symbol = "hg " - -[java] -symbol = "java " - -[julia] -symbol = "jl " - -[kotlin] -symbol = "kt " - -[nodejs] -symbol = "nodejs " - -[memory_usage] -symbol = "memory " - -[nim] -symbol = "nim " - -[nix_shell] -symbol = "nix " - -[ocaml] -symbol = "ml " - -[package] -symbol = "pkg " - -[perl] -symbol = "pl " - -[php] -symbol = "php " - -[pulumi] -symbol = "pulumi " - -[purescript] -symbol = "purs " - -[python] -symbol = "py " - -[ruby] -symbol = "rb " - -[rust] -symbol = "rs " - -[scala] -symbol = "scala " - -[sudo] -symbol = "sudo " - -[swift] -symbol = "swift " -``` - -## Hide Runtime Versions +## [No Runtime Versions](./no-runtimes) This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you! -![Screenshot of Hide Runtime Versions preset](/presets/hide-runtime-versions.png) +[![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes) -### Configuration - -```toml -[cmake] -format = "via [$symbol]($style)" - -[cobol] -format = "via [$symbol]($style)" - -[crystal] -format = "via [$symbol]($style)" - -[dart] -format = "via [$symbol]($style)" - -[deno] -format = "via [$symbol]($style)" - -[dotnet] -format = "[$symbol(🎯 $tfm )]($style)" - -[elixir] -format = 'via [$symbol]($style)' - -[elm] -format = 'via [$symbol]($style)' - -[erlang] -format = 'via [$symbol]($style)' - -[golang] -format = 'via [$symbol]($style)' - -[helm] -format = 'via [$symbol]($style)' - -[julia] -format = 'via [$symbol]($style)' - -[kotlin] -format = 'via [$symbol]($style)' - -[lua] -format = 'via [$symbol]($style)' - -[nim] -format = 'via [$symbol]($style)' - -[nodejs] -format = 'via [$symbol]($style)' - -[ocaml] -format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)' - -[perl] -format = 'via [$symbol]($style)' - -[php] -format = 'via [$symbol]($style)' - -[pulumi] -format = 'via [$symbol$stack]($style)' - -[purescript] -format = 'via [$symbol]($style)' - -[red] -format = 'via [$symbol]($style)' - -[rlang] -format = 'via [$symbol]($style)' - -[ruby] -format = 'via [$symbol]($style)' - -[rust] -format = 'via [$symbol]($style)' - -[swift] -format = 'via [$symbol]($style)' - -[vagrant] -format = 'via [$symbol]($style)' - -[vlang] -format = 'via [$symbol]($style)' - -[zig] -format = 'via [$symbol]($style)' -``` - -## Pure +## [Pure Prompt](./pure-preset) This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure). -![Screenshot of Pure preset](/presets/pure-prompt.png) - -### Configuration - -```toml -format = """ -$username\ -$hostname\ -$directory\ -$git_branch\ -$git_state\ -$git_status\ -$cmd_duration\ -$line_break\ -$python\ -$character""" - -[directory] -style = "blue" - -[character] -success_symbol = "[❯](purple)" -error_symbol = "[❯](red)" -vicmd_symbol = "[❮](green)" - -[git_branch] -format = "[$branch]($style)" -style = "bright-black" - -[git_status] -format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)" -style = "cyan" -conflicted = "" -untracked = "" -modified = "" -staged = "" -renamed = "" -deleted = "" -stashed = "≡" - -[git_state] -format = '\([$state( $progress_current/$progress_total)]($style)\) ' -style = "bright-black" - -[cmd_duration] -format = "[$duration]($style) " -style = "yellow" - -[python] -format = "[$virtualenv]($style) " -style = "bright-black" -``` +[![Screenshot of Pure preset](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./pure-preset) diff --git a/docs/nl-NL/presets/bracketed-segments.md b/docs/nl-NL/presets/bracketed-segments.md new file mode 100644 index 000000000..9b2367145 --- /dev/null +++ b/docs/nl-NL/presets/bracketed-segments.md @@ -0,0 +1,13 @@ +[Return to Presets](/presets/#bracketed-segments) + +# Bracketed Segments Preset + +This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.). + +![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png) + +### Configuration + +[Click to download TOML](/presets/toml/bracketed-segments.toml) + +<<< @/.vuepress/public/presets/toml/bracketed-segments.toml diff --git a/docs/nl-NL/presets/nerd-font.md b/docs/nl-NL/presets/nerd-font.md new file mode 100644 index 000000000..dc9e21855 --- /dev/null +++ b/docs/nl-NL/presets/nerd-font.md @@ -0,0 +1,17 @@ +[Return to Presets](/presets/#nerd-font-symbols) + +# Nerd Font Symbols Preset + +This preset changes the symbols for each module to use Nerd Font symbols. + +![Screenshot of Nerd Font Symbols preset](/presets/img/nerd-font-symbols.png) + +### Benodigdheden + +- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font) + +### Configuration + +[Click to download TOML](/presets/toml/nerd-font-symbols.toml) + +<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml diff --git a/docs/nl-NL/presets/no-runtimes.md b/docs/nl-NL/presets/no-runtimes.md new file mode 100644 index 000000000..1815872dc --- /dev/null +++ b/docs/nl-NL/presets/no-runtimes.md @@ -0,0 +1,13 @@ +[Return to Presets](/presets/#no-runtime-versions) + +# No Runtime Versions Preset + +This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you! + +![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png) + +### Configuration + +[Click to download TOML](/presets/toml/no-runtime-versions.toml) + +<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml diff --git a/docs/nl-NL/presets/plain-text.md b/docs/nl-NL/presets/plain-text.md new file mode 100644 index 000000000..12cb453e1 --- /dev/null +++ b/docs/nl-NL/presets/plain-text.md @@ -0,0 +1,13 @@ +[Return to Presets](/presets/#plain-text-symbols) + +## Plain Text Symbols Preset + +This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode. + +![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png) + +### Configuration + +[Click to download TOML](/presets/toml/plain-text-symbols.toml) + +<<< @/.vuepress/public/presets/toml/plain-text-symbols.toml diff --git a/docs/nl-NL/presets/pure-preset.md b/docs/nl-NL/presets/pure-preset.md new file mode 100644 index 000000000..96a1b6a2a --- /dev/null +++ b/docs/nl-NL/presets/pure-preset.md @@ -0,0 +1,13 @@ +[Return to Presets](/presets/#pure) + +# Pure Preset + +This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure). + +![Screenshot of Pure preset](/presets/img/pure-preset.png) + +### Configuration + +[Click to download TOML](/presets/toml/pure-preset.toml) + +<<< @/.vuepress/public/presets/toml/pure-preset.toml |