From a16e29cfb78ac87ade70ba6ba9b188953362bd8a Mon Sep 17 00:00:00 2001 From: Rumia Date: Sun, 23 May 2021 01:08:21 +0800 Subject: [PATCH] docs(preset): New preset "Plain Text Symbol" (#2749) * Add plain text preset * Add git symbols to plain text symbols --- .../presets/plain-text-symbols-after.png | Bin 0 -> 5448 bytes .../presets/plain-text-symbols-before.png | Bin 0 -> 4838 bytes docs/presets/README.md | 125 ++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 docs/.vuepress/public/presets/plain-text-symbols-after.png create mode 100644 docs/.vuepress/public/presets/plain-text-symbols-before.png diff --git a/docs/.vuepress/public/presets/plain-text-symbols-after.png b/docs/.vuepress/public/presets/plain-text-symbols-after.png new file mode 100644 index 0000000000000000000000000000000000000000..81aa0e57add0cd46bbe834caafa3e04df9705b62 GIT binary patch literal 5448 zcmb`Lc~p}5{>LA)O((N7ORdoyGg33ha!Cy>vvDh2N-QjK9e1tV6@(_IhO}_pom_HD zO$kkb)PT}PMy<#V7gB1>T!CBwWxX`_{_g4iaqsz^d+r}BUw96O=RD8*^?AL&7!Qb( zin6vc001g3&W>IHpinP=|8eVP`SW+B%q#L2g*Y!K2jKCWeRJ}~#?VveP60qO_8W1) zCizu_rq2?dnnMUMkfOSQMVvu>FMMfbfLE zW`vW6&S`3FHc|^*$0++RUc$;Z@Ou^f`j}IQ1EqNy=iQ?t~!%BT#9!mt4j$ zV==wV>alak zkiOO!Tsnr>@3eOx1@8Na7Q3J%dspaG&f>@BPnLI;k<@U*6xbDb?vlOzr(e-`9JbE}+>C;FV&sW!~m!M3< zFE!7-oh;%%3T0IeQ4Y>C@1LjLYZ;={;(i$?3AuAqmoLAgPK+p5K&{gWL)F`oYh3mf z{@jPWm!Yn(39xR;={!U(>_Z#gi!WC0dyg7c0Gu=XkN~=Mt08a_maz-ikIT)@fnOHF z{T|Qt(L`OuJ?r;#23TbPz)w)~O0{}jaB359vN}15RbpSgVq8^gN@0OThA``O8{b0` zZ+l?>?LWEI4)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c<_Ul*t1XYrY>y}mHEuUxU0^Jm7TC5oE>#`S-7 z2Zl5p=_>OYVF>WPi*}LhsFYpVHOp-h0dWuU2)ZwRN%lO-{MRGlY$+|`Zs@|&k9$?o zm*oxa@`hqDqXZb?$YzhHKM(0x%kCrwhXh-l+NyBqgADYgdF9Is$G_LF z?7DV3Wda&YuX`2Cr-rlaMS3`CHg8Ee~mC{Lf<=nAjS^u2h!6x_a`4rRbI*^ zo9@Bc^ivwmrYoVLF<&ax;MbK3x#j|2@3D_CPCZ>ojQwyrba7!fI6d{1E8aUkDs4V* zHX~}RCxx?dGJ={Y14r#e9_e0HSbgNjF+Rrts}pfEqW&jdZAGxh^yrk}7?GN7c)>wP zzmaKkZmM~6;iM1o>;hxHa5T~8q0V{1NT1Hgmwl8q47nX?{ zKcif}hg{lZa`*Ym@kAxVOSsuvedY-U#EqA%=Mo<;-idhS`i5BCv7v;iGuxcv{F+>H zYvo5DkF>wGI*R($J_IU4MrTf1g7iXA?)voTIv}lu>hwfjHTqpcU4ID^c|9NqV+eaP z_7ZnY{uFbw=XM^2k4Tv#{35L5v6#@;bMV!n`lZ5O7Z1#X7>4T6t!m*{Y*wg(C0;7Z z^a7I6-pmR^xgYcDc{yZI7*Z@D5fInst>^MZMMfuiRQU*q038~${VZ8~KOZdq= zhYD{>D^6fl09iYKP-xh_7`xCMeF`*F=8|&u3Sh?JbQ#^#^a$GF@%-pT7wd6qez?Z8 zX+Fl}=7ZgK=}}JG>R@YEm9|}+{2;q@0C>I*J5eo_intx2RN)HUo?E5>ybbNo&Osaf z?1|e3pto8<0ARpIsUBoS>e>uEpZo^{oIMl({%${xejNa4?LvXhd|5-u*M54i0a&cp z_R@xELjfSFUejyiF2FxFzYYrf`w)nKA{UVW$g# literal 0 HcmV?d00001 diff --git a/docs/.vuepress/public/presets/plain-text-symbols-before.png b/docs/.vuepress/public/presets/plain-text-symbols-before.png new file mode 100644 index 0000000000000000000000000000000000000000..8ddbf7a67dfffe214c431f7b74f53b4e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U ze3cc&XA|5+!f$O+oYLC_xSx=<4i-BIbW-U z&sP+~Rr+*Zxh0wGqtbm(uW`6$k~W@O-T##J!B{f@io_7l_<2t{k()kCWtmWW%M=l1 zW}xtP#~>^7nuq4;$zg4J{SH|Oui}JwA5|^X2}6b9wY~MIvS|;~>(};f0AP`ZvJ1AL zu1el;@X2ETvz#baxAW)%^o3*TdLfL23)P&D1CO5)li%b~Wf6Nwl#w5p{9kMzdR zET>I5ClkUPwVYcprKYyD5F)hj z=EP()-?pdjvSJ{nMWzb<#UQHo*QLEkOl%z4lhQZ;2^9Q*|M5m>8{n_nM_w%GU%Z6s zkZ;uzKCMu=U=wS-Is~!~fTZC|Y{E3qe%C8phFZZc`gK)mm#tR=W$GkI8asY@NtW{L zm*zX7Rs$F0ZyRgC^$X4(A*}+Y{)oBtkh!nYP+tHj^Ib{3|7TJiZpo7k`|nukdK;Oe rT+UFHxsm_4_kUXw0D!aO1o4^qkwrbsE-l%=DFE)|348ui;FW&?F;Z9R literal 0 HcmV?d00001 diff --git a/docs/presets/README.md b/docs/presets/README.md index 7b97255c..1d4fa71e 100644 --- a/docs/presets/README.md +++ b/docs/presets/README.md @@ -214,3 +214,128 @@ format = '\[[$symbol($version)]($style)\]' [zig] format = '\[[$symbol($version)]($style)\]' ``` + +## Plain Text Symbols + +This preset changes the symbols into plain text. +If your terminal/font could not render the NerdFonts/emojis, maybe you could try this preset! + +Before (default setting with Fixedsys font): + +![Screenshot of default Starship configuration with Fixedsys font](/presets/plain-text-symbols-before.png) + +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 " + +[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 " + +[purescript] +symbol = "purs " + +[python] +symbol = "py " + +[ruby] +symbol = "rb " + +[rust] +symbol = "rs " + +[scala] +symbol = "scala " + +[swift] +symbol = "swift " +```