Skip to content

Commit 66e4845

Browse files
authored
Remove some outdated comments (#1008)
Nitpick, but I've noticed it a few times so figured I'd just go ahead and get rid of it. * Mainly, removed the comment about changing the hardcoded 30-width terminal since it's now handled dynamically (at least in this module) * Also removed references to engine-q I notice there are a lot of other engine-q references when I grep `nu_scripts`, but I'll leave those for another day. Some of those are probably pretty outdated (e.g., `init.nu` in the example config) and need to be culled.
1 parent d316685 commit 66e4845

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

modules/prompt/oh-my-minimal.nu

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# nerd fonts repo https://github.com/ryanoasis/nerd-fonts
77
# i use "FiraCode Nerd Font Mono" on mac
88
#
9-
# you also must have the engine-q gstat plugin installed and registered
9+
# you also must have the gstat plugin installed and registered
1010

1111
# ATTRIBUTION #
1212
# A little fancier prompt with git information

modules/prompt/oh-my.nu

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# nerd fonts repo https://github.com/ryanoasis/nerd-fonts
44
# i use "FiraCode Nerd Font Mono" on mac
55
#
6-
# you also must have the engine-q gstat plugin installed and registered
6+
# you also must have the gstat plugin installed and registered
77

88
# ATTRIBUTION #
99
# A little fancier prompt with git information
@@ -290,7 +290,6 @@ def get_repo_status [gs os] {
290290
}
291291

292292
def git_left_prompt [gs os] {
293-
# replace this 30 with whatever the width of the terminal is
294293
let display_path = (path_abbrev_if_needed (home_abbrev $os.name) (term size).columns)
295294
let branch_name = (get_branch_name $gs)
296295
let R = (ansi reset)

0 commit comments

Comments
 (0)