diff --git a/demo/config.yml b/demo/config.yml index 856182b27d6..defe50a5bc1 100644 --- a/demo/config.yml +++ b/demo/config.yml @@ -75,7 +75,10 @@ cursorStyle: block # Font family # You can use any font that is installed on your machine # in CSS-like syntax -fontFamily: "DejaVuSansMono Nerd Font" +# Download from: +# https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/DejaVuSansMono.zip +# Not using the mono font because it makes icons too small. +fontFamily: "DejaVuSansM Nerd Font" # The size of the font fontSize: 8 diff --git a/pkg/integration/tests/demo/amend_old_commit.go b/pkg/integration/tests/demo/amend_old_commit.go index b77a62bd16a..522b11fc00f 100644 --- a/pkg/integration/tests/demo/amend_old_commit.go +++ b/pkg/integration/tests/demo/amend_old_commit.go @@ -11,9 +11,7 @@ var AmendOldCommit = NewIntegrationTest(NewIntegrationTestArgs{ Skip: false, IsDemo: true, SetupConfig: func(config *config.AppConfig) { - // No idea why I had to use version 2: it should be using my own computer's - // font and the one iterm uses is version 3. - config.UserConfig.Gui.NerdFontsVersion = "2" + config.UserConfig.Gui.NerdFontsVersion = "3" config.UserConfig.Gui.ShowFileTree = false }, SetupRepo: func(shell *Shell) { diff --git a/pkg/integration/tests/demo/bisect.go b/pkg/integration/tests/demo/bisect.go index b001708ea7b..edae1146f17 100644 --- a/pkg/integration/tests/demo/bisect.go +++ b/pkg/integration/tests/demo/bisect.go @@ -11,9 +11,7 @@ var Bisect = NewIntegrationTest(NewIntegrationTestArgs{ Skip: false, IsDemo: true, SetupConfig: func(config *config.AppConfig) { - // No idea why I had to use version 2: it should be using my own computer's - // font and the one iterm uses is version 3. - config.UserConfig.Gui.NerdFontsVersion = "2" + config.UserConfig.Gui.NerdFontsVersion = "3" }, SetupRepo: func(shell *Shell) { shell.CreateFile("my-file.txt", "myfile content") diff --git a/pkg/integration/tests/demo/cherry_pick.go b/pkg/integration/tests/demo/cherry_pick.go index 0dd34c8b9a8..d6f16b19b9c 100644 --- a/pkg/integration/tests/demo/cherry_pick.go +++ b/pkg/integration/tests/demo/cherry_pick.go @@ -11,9 +11,7 @@ var CherryPick = NewIntegrationTest(NewIntegrationTestArgs{ Skip: false, IsDemo: true, SetupConfig: func(config *config.AppConfig) { - // No idea why I had to use version 2: it should be using my own computer's - // font and the one iterm uses is version 3. - config.UserConfig.Gui.NerdFontsVersion = "2" + config.UserConfig.Gui.NerdFontsVersion = "3" }, SetupRepo: func(shell *Shell) { shell.CreateNCommitsWithRandomMessages(50) diff --git a/pkg/integration/tests/demo/commit_and_push.go b/pkg/integration/tests/demo/commit_and_push.go index a0e196cf0d2..545d24d1e63 100644 --- a/pkg/integration/tests/demo/commit_and_push.go +++ b/pkg/integration/tests/demo/commit_and_push.go @@ -11,9 +11,7 @@ var CommitAndPush = NewIntegrationTest(NewIntegrationTestArgs{ Skip: false, IsDemo: true, SetupConfig: func(config *config.AppConfig) { - // No idea why I had to use version 2: it should be using my own computer's - // font and the one iterm uses is version 3. - config.UserConfig.Gui.NerdFontsVersion = "2" + config.UserConfig.Gui.NerdFontsVersion = "3" }, SetupRepo: func(shell *Shell) { shell.CreateFile("my-file.txt", "myfile content") diff --git a/pkg/integration/tests/demo/custom_patch.go b/pkg/integration/tests/demo/custom_patch.go index b110054a5fa..70aecd66868 100644 --- a/pkg/integration/tests/demo/custom_patch.go +++ b/pkg/integration/tests/demo/custom_patch.go @@ -21,9 +21,7 @@ var CustomPatch = NewIntegrationTest(NewIntegrationTestArgs{ Skip: false, IsDemo: true, SetupConfig: func(cfg *config.AppConfig) { - // No idea why I had to use version 2: it should be using my own computer's - // font and the one iterm uses is version 3. - cfg.UserConfig.Gui.NerdFontsVersion = "2" + cfg.UserConfig.Gui.NerdFontsVersion = "3" }, SetupRepo: func(shell *Shell) { shell.CreateNCommitsWithRandomMessages(30) diff --git a/pkg/integration/tests/demo/filter.go b/pkg/integration/tests/demo/filter.go index 2e62ba44487..c6b6acb1ac8 100644 --- a/pkg/integration/tests/demo/filter.go +++ b/pkg/integration/tests/demo/filter.go @@ -11,9 +11,7 @@ var Filter = NewIntegrationTest(NewIntegrationTestArgs{ Skip: false, IsDemo: true, SetupConfig: func(config *config.AppConfig) { - // No idea why I had to use version 2: it should be using my own computer's - // font and the one iterm uses is version 3. - config.UserConfig.Gui.NerdFontsVersion = "2" + config.UserConfig.Gui.NerdFontsVersion = "3" }, SetupRepo: func(shell *Shell) { shell.CreateNCommitsWithRandomMessages(30) diff --git a/pkg/integration/tests/demo/interactive_rebase.go b/pkg/integration/tests/demo/interactive_rebase.go index fd19e365765..56d711c5508 100644 --- a/pkg/integration/tests/demo/interactive_rebase.go +++ b/pkg/integration/tests/demo/interactive_rebase.go @@ -11,9 +11,7 @@ var InteractiveRebase = NewIntegrationTest(NewIntegrationTestArgs{ Skip: false, IsDemo: true, SetupConfig: func(config *config.AppConfig) { - // No idea why I had to use version 2: it should be using my own computer's - // font and the one iterm uses is version 3. - config.UserConfig.Gui.NerdFontsVersion = "2" + config.UserConfig.Gui.NerdFontsVersion = "3" }, SetupRepo: func(shell *Shell) { shell.CreateFile("my-file.txt", "myfile content") diff --git a/pkg/integration/tests/demo/nuke_working_tree.go b/pkg/integration/tests/demo/nuke_working_tree.go index dba670c397f..c6dde3933aa 100644 --- a/pkg/integration/tests/demo/nuke_working_tree.go +++ b/pkg/integration/tests/demo/nuke_working_tree.go @@ -11,9 +11,7 @@ var NukeWorkingTree = NewIntegrationTest(NewIntegrationTestArgs{ Skip: false, IsDemo: true, SetupConfig: func(config *config.AppConfig) { - // No idea why I had to use version 2: it should be using my own computer's - // font and the one iterm uses is version 3. - config.UserConfig.Gui.NerdFontsVersion = "2" + config.UserConfig.Gui.NerdFontsVersion = "3" config.UserConfig.Gui.AnimateExplosion = true }, SetupRepo: func(shell *Shell) { diff --git a/pkg/integration/tests/demo/stage_lines.go b/pkg/integration/tests/demo/stage_lines.go index 6bfa21a98ce..df29ce61d49 100644 --- a/pkg/integration/tests/demo/stage_lines.go +++ b/pkg/integration/tests/demo/stage_lines.go @@ -39,9 +39,7 @@ var StageLines = NewIntegrationTest(NewIntegrationTestArgs{ Skip: false, IsDemo: true, SetupConfig: func(config *config.AppConfig) { - // No idea why I had to use version 2: it should be using my own computer's - // font and the one iterm uses is version 3. - config.UserConfig.Gui.NerdFontsVersion = "2" + config.UserConfig.Gui.NerdFontsVersion = "3" config.UserConfig.Gui.ShowFileTree = false config.UserConfig.Gui.ShowCommandLog = false }, diff --git a/pkg/integration/tests/demo/undo.go b/pkg/integration/tests/demo/undo.go index f11a514acda..d6dbb0e8334 100644 --- a/pkg/integration/tests/demo/undo.go +++ b/pkg/integration/tests/demo/undo.go @@ -13,9 +13,7 @@ var Undo = NewIntegrationTest(NewIntegrationTestArgs{ Skip: false, IsDemo: true, SetupConfig: func(config *config.AppConfig) { - // No idea why I had to use version 2: it should be using my own computer's - // font and the one iterm uses is version 3. - config.UserConfig.Gui.NerdFontsVersion = "2" + config.UserConfig.Gui.NerdFontsVersion = "3" }, SetupRepo: func(shell *Shell) { shell.CreateNCommitsWithRandomMessages(30)