-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git_branch module and other modules not working in one of my repositories #3841
Comments
Unrelated, but |
I tested on some other terminals, but the problem does not seem to be terminal dependent. Windows terminal and Wezterm also give the same issue. |
I have the same issue when using a sparse checkout. It seems like this might be related to libgit2 and any Rust packages that make use of that lib:
Here is some output if that helps: $ git --version
git version 2.33.1
$ starship --version
starship 1.2.1
branch:
commit_hash:
build_time:1980-01-01 00:00:00 +00:00
build_env:rustc 1.57.0,
$ git status
On branch mybranch-refactoring
You are in a sparse checkout with 27% of tracked files present.
$ git config -l
core.repositoryformatversion=1
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=ssh://git@myserver/myrepo/myrepo.git
remote.origin.fetch=+refs/heads/master:refs/remotes/origin/master
remote.origin.promisor=true
remote.origin.partialclonefilter=blob:none
extensions.worktreeconfig=true
branch.master.remote=origin
branch.master.merge=refs/heads/master
user.email=myemail
user.name=myname
git-town.main-branch-name=master
git-town-branch.mybranch-refactoring.parent=master
core.sparsecheckout=true The repository is cloned using the following command: $ git clone \
--depth 1 \
--filter=blob:none \
--sparse \
--branch master \
https://myserver/myrepo/myrepo.git \
~/MyRepo
$ git sparse-checkout set --stdin <<EOF
MyProject/SomeFolder
!MyProject/SomeFolder/ExcludeThisFolder
EOF And the output with [TRACE] - (starship): Parsed arguments: Cli {
command: Time,
}
[TRACE] - (starship): Parsed arguments: Cli {
command: Prompt {
right: false,
continuation: false,
properties: Properties {
status_code: Some(
"0",
),
pipestatus: Some(
[
"0",
],
),
terminal_width: 156,
path: None,
logical_path: None,
cmd_duration: Some(
"6182",
),
keymap: "viins",
jobs: 0,
},
},
}
[DEBUG] - (starship::config): STARSHIP_CONFIG is set: /home/user/SomeLocation/starship.toml
[TRACE] - (starship::utils): Trying to read from "/home/user/SomeLocation/starship.toml"
[TRACE] - (starship::utils): File read successfully
[TRACE] - (starship::config): Config file content: "
[sudo]
disabled = false
[shell]
disabled = false
[shlvl]
disabled = false
[status]
disabled = false
[time]
disabled = false
[memory_usage]
disabled = true
[env_var.user]
variable = "DV_LPASS_USERNAME"
style = "bold underline fg:white"
format = " [$env_value]($style) "
[custom.free_space]
command = "df -h / | tail -1 | awk '{print $4}'"
when = "whoami"
style = "bold fg:cyan"
symbol = "💾️ "
[custom.vault]
# command = "echo unlocked"
when = "gopass ls"
style = "bold fg:cyan"
symbol = "🗝️ "
# symbol = "🔓 "
"
[DEBUG] - (starship::config): Config parsed: Table({"sudo": Table({"disabled": Boolean(false)}), "shell": Table({"disabled": Boolean(false)}), "shlvl": Table({"disabled": Boolean(false)}), "status": Table({"disabled": Boolean(false)}), "time": Table({"disabled": Boolean(false)}), "memory_usage": Table({"disabled": Boolean(true)}), "env_var": Table({"user": Table({"variable": String("DV_LPASS_USERNAME"), "style": String("bold underline fg:white"), "format": String(" [$env_value]($style) ")})}), "custom": Table({"free_space": Table({"command": String("df -h / | tail -1 | awk '{print $4}'"), "when": String("whoami"), "style": String("bold fg:cyan"), "symbol": String("💾\u{fe0f} ")}), "vault": Table({"when": String("gopass ls"), "style": String("bold fg:cyan"), "symbol": String("🗝\u{fe0f} ")})})})
[TRACE] - (starship::context): Received completed pipestatus of Some(["0"])
[TRACE] - (starship::config): No config found for "username": Option "username" not found
[TRACE] - (starship::config): No config found for "kubernetes": Option "kubernetes" not found
[DEBUG] - (starship::config): Config found for "shlvl": Some(Table({"disabled": Boolean(false)}))
[TRACE] - (starship::config): No config found for "hostname": Option "hostname" not found
[TRACE] - (starship::config): No config found for "hostname": Option "hostname" not found
[TRACE] - (starship::modules): Took 67.2µs to compute module "hostname"
[TRACE] - (starship::config): No config found for "hg_branch": Option "hg_branch" not found
[TRACE] - (starship::config): No config found for "elixir": Option "elixir" not found
[TRACE] - (starship::config): No config found for "elixir": Option "elixir" not found
[TRACE] - (starship::config): No config found for "deno": Option "deno" not found
[TRACE] - (starship::config): No config found for "deno": Option "deno" not found
[TRACE] - (starship::config): No config found for "kubernetes": Option "kubernetes" not found
[TRACE] - (starship::config): No config found for "dart": Option "dart" not found
[TRACE] - (starship::config): No config found for "dart": Option "dart" not found
[TRACE] - (starship::config): No config found for "helm": Option "helm" not found
[TRACE] - (starship::config): No config found for "helm": Option "helm" not found
[DEBUG] - (starship::config): Config found for "shlvl": Some(Table({"disabled": Boolean(false)}))
[TRACE] - (starship::config): No config found for "cobol": Option "cobol" not found
[TRACE] - (starship::config): No config found for "git_commit": Option "git_commit" not found
[TRACE] - (starship::config): No config found for "git_commit": Option "git_commit" not found
[TRACE] - (starship::context): Building HashSets of directory files, folders and extensions took 108.9µs
[TRACE] - (starship::config): No config found for "username": Option "username" not found
[TRACE] - (starship::modules): Took 2.7351ms to compute module "username"
[TRACE] - (starship::config): No config found for "username": Option "username" not found
[TRACE] - (starship::config): No config found for "vcsh": Option "vcsh" not found
[TRACE] - (starship::config): No config found for "cobol": Option "cobol" not found
[TRACE] - (starship::modules): Took 1.1683ms to compute module "cobol"
[TRACE] - (starship::config): No config found for "cobol": Option "cobol" not found
[TRACE] - (starship::config): No config found for "julia": Option "julia" not found
[TRACE] - (starship::config): No config found for "julia": Option "julia" not found
[TRACE] - (starship::modules): Took 97.7µs to compute module "julia"
[TRACE] - (starship::config): No config found for "kotlin": Option "kotlin" not found
[TRACE] - (starship::config): No config found for "kotlin": Option "kotlin" not found
[TRACE] - (starship::modules): Took 115.6µs to compute module "kotlin"
[TRACE] - (starship::config): No config found for "dotnet": Option "dotnet" not found
[TRACE] - (starship::config): No config found for "dotnet": Option "dotnet" not found
[TRACE] - (starship::modules): Took 104.4µs to compute module "dotnet"
[TRACE] - (starship::config): No config found for "git_branch": Option "git_branch" not found
[TRACE] - (starship::config): No config found for "git_branch": Option "git_branch" not found
[TRACE] - (starship::modules): Took 1.6251ms to compute module "shlvl"
[TRACE] - (starship::modules): Took 206.4µs to compute module "git_branch"
[TRACE] - (starship::config): No config found for "directory": Option "directory" not found
[TRACE] - (starship::config): No config found for "directory": Option "directory" not found
[DEBUG] - (starship::modules::directory): Home dir: "/home/user"
[DEBUG] - (starship::modules::directory): Physical dir: "/home/user/MyRepo/MyProject/SomeFolder"
[DEBUG] - (starship::modules::directory): Display dir: "/home/user/MyRepo/MyProject/SomeFolder"
[TRACE] - (starship::modules): Took 814.1µs to compute module "dart"
[TRACE] - (starship::config): Parsing color_string: cyan
[TRACE] - (starship::config): Read predefined color: cyan
[TRACE] - (starship::config): Parsing color_string: red
[TRACE] - (starship::config): Read predefined color: red
[TRACE] - (starship::modules): Took 1.8439ms to compute module "hg_branch"
[TRACE] - (starship::config): No config found for "hg_branch": Option "hg_branch" not found
[TRACE] - (starship::config): No config found for "docker_context": Option "docker_context" not found
[TRACE] - (starship::config): No config found for "docker_context": Option "docker_context" not found
[DEBUG] - (starship::config): Config found for "shlvl": Some(Table({"disabled": Boolean(false)}))
[TRACE] - (starship::config): No config found for "singularity": Option "singularity" not found
[TRACE] - (starship::modules): Took 15µs to compute module "vcsh"
[TRACE] - (starship::config): No config found for "lua": Option "lua" not found
[TRACE] - (starship::config): No config found for "lua": Option "lua" not found
[TRACE] - (starship::modules): Took 67.4µs to compute module "lua"
[TRACE] - (starship::config): No config found for "nim": Option "nim" not found
[TRACE] - (starship::config): No config found for "nim": Option "nim" not found
[TRACE] - (starship::modules): Took 792.5µs to compute module "directory"
[TRACE] - (starship::modules): Took 1.6953ms to compute module "elixir"
[TRACE] - (starship::config): No config found for "elixir": Option "elixir" not found
[TRACE] - (starship::config): No config found for "elm": Option "elm" not found
[TRACE] - (starship::modules): Took 1.7µs to compute module "singularity"
[TRACE] - (starship::config): No config found for "nodejs": Option "nodejs" not found
[TRACE] - (starship::config): No config found for "nodejs": Option "nodejs" not found
[TRACE] - (starship::modules): Took 64.4µs to compute module "nodejs"
[TRACE] - (starship::config): No config found for "vagrant": Option "vagrant" not found
[TRACE] - (starship::config): No config found for "vagrant": Option "vagrant" not found
[TRACE] - (starship::modules): Took 47µs to compute module "vagrant"
[TRACE] - (starship::config): No config found for "zig": Option "zig" not found
[TRACE] - (starship::config): No config found for "zig": Option "zig" not found
[TRACE] - (starship::modules): Took 67.1µs to compute module "zig"
[TRACE] - (starship::config): No config found for "nix_shell": Option "nix_shell" not found
[TRACE] - (starship::config): No config found for "nix_shell": Option "nix_shell" not found
[TRACE] - (starship::config): No config found for "scala": Option "scala" not found
[TRACE] - (starship::config): No config found for "scala": Option "scala" not found
[TRACE] - (starship::modules): Took 98.1µs to compute module "scala"
[TRACE] - (starship::config): No config found for "swift": Option "swift" not found
[TRACE] - (starship::config): No config found for "swift": Option "swift" not found
[TRACE] - (starship::modules): Took 89.2µs to compute module "nim"
[TRACE] - (starship::config): No config found for "conda": Option "conda" not found
[TRACE] - (starship::modules): Took 1.8µs to compute module "conda"
[TRACE] - (starship::config): No config found for "git_metrics": Option "git_metrics" not found
[TRACE] - (starship::config): No config found for "git_metrics": Option "git_metrics" not found
[TRACE] - (starship::modules): Took 89.4µs to compute module "git_metrics"
[TRACE] - (starship::config): No config found for "git_status": Option "git_status" not found
[TRACE] - (starship::config): No config found for "git_status": Option "git_status" not found
[DEBUG] - (starship::config): Config found for "memory_usage": Some(Table({"disabled": Boolean(true)}))
[TRACE] - (starship::config): No config found for "aws": Option "aws" not found
[TRACE] - (starship::config): No config found for "aws": Option "aws" not found
[TRACE] - (starship::modules): Took 135.2µs to compute module "swift"
[TRACE] - (starship::config): No config found for "terraform": Option "terraform" not found
[TRACE] - (starship::config): No config found for "terraform": Option "terraform" not found
[TRACE] - (starship::modules): Took 52.1µs to compute module "terraform"
[TRACE] - (starship::config): No config found for "vlang": Option "vlang" not found
[TRACE] - (starship::config): No config found for "vlang": Option "vlang" not found
[TRACE] - (starship::modules): Took 69.1µs to compute module "vlang"
[TRACE] - (starship::config): No config found for "erlang": Option "erlang" not found
[TRACE] - (starship::modules): Took 192.5µs to compute module "git_status"
[TRACE] - (starship::config): No config found for "perl": Option "perl" not found
[TRACE] - (starship::config): No config found for "perl": Option "perl" not found
[TRACE] - (starship::modules): Took 97.7µs to compute module "perl"
[DEBUG] - (starship::config): Config found for "sudo": Some(Table({"disabled": Boolean(false)}))
[DEBUG] - (starship::config): Config found for "sudo": Some(Table({"disabled": Boolean(false)}))
[TRACE] - (starship::modules): Took 1.4742ms to compute module "kubernetes"
[TRACE] - (starship::config): No config found for "kubernetes": Option "kubernetes" not found
[TRACE] - (starship::config): No config found for "azure": Option "azure" not found
[TRACE] - (starship::config): No config found for "azure": Option "azure" not found
[TRACE] - (starship::modules): Took 213.7µs to compute module "azure"
[TRACE] - (starship::config): No config found for "erlang": Option "erlang" not found
[TRACE] - (starship::modules): Took 1.5613ms to compute module "erlang"
[TRACE] - (starship::config): No config found for "erlang": Option "erlang" not found
[TRACE] - (starship::config): No config found for "golang": Option "golang" not found
[TRACE] - (starship::config): No config found for "golang": Option "golang" not found
[TRACE] - (starship::modules): Took 165µs to compute module "golang"
[TRACE] - (starship::context): Executing command "sudo" with args ["-n", "true"] from context
[TRACE] - (starship::utils): Creating Command for binary "sudo"
[TRACE] - (starship::utils): File read successfully
[TRACE] - (starship::utils): Using "/usr/bin/sudo" as "sudo"
[TRACE] - (starship::modules): Took 290.1µs to compute module "git_commit"
[DEBUG] - (starship::config): Config found for "env_var": Some(Table({"user": Table({"variable": String("DV_LPASS_USERNAME"), "style": String("bold underline fg:white"), "format": String(" [$env_value]($style) ")})}))
[TRACE] - (starship::modules): Took 647.6µs to compute module "helm"
[TRACE] - (starship::config): No config found for "java": Option "java" not found
[TRACE] - (starship::config): No config found for "java": Option "java" not found
[TRACE] - (starship::modules): Took 106.4µs to compute module "java"
[TRACE] - (starship::config): No config found for "package": Option "package" not found
[TRACE] - (starship::config): No config found for "package": Option "package" not found
[TRACE] - (starship::modules): Took 8.1417ms to compute module "docker_context"
[TRACE] - (starship::config): No config found for "docker_context": Option "docker_context" not found
[TRACE] - (starship::config): No config found for "battery": Option "battery" not found
[TRACE] - (starship::config): No config found for "env_var.user": Option "env_var.user" not found
[TRACE] - (starship::modules): Took 1.4238ms to compute module "deno"
[TRACE] - (starship::config): No config found for "deno": Option "deno" not found
[TRACE] - (starship::config): No config found for "ocaml": Option "ocaml" not found
[TRACE] - (starship::config): No config found for "ocaml": Option "ocaml" not found
[TRACE] - (starship::modules): Took 61.7µs to compute module "ocaml"
[DEBUG] - (starship::config): Config found for "status": Some(Table({"disabled": Boolean(false)}))
[DEBUG] - (starship::config): Config found for "status": Some(Table({"disabled": Boolean(false)}))
[TRACE] - (starship::modules): Took 136.2µs to compute module "status"
[DEBUG] - (starship::config): Config found for "shell": Some(Table({"disabled": Boolean(false)}))
[DEBUG] - (starship::config): Config found for "shell": Some(Table({"disabled": Boolean(false)}))
[TRACE] - (starship::utils): Trying to read from "/home/user/.aws/config"
[TRACE] - (starship::config): No config found for "openstack": Option "openstack" not found
[TRACE] - (starship::config): No config found for "php": Option "php" not found
[TRACE] - (starship::config): No config found for "gcloud": Option "gcloud" not found
[TRACE] - (starship::config): No config found for "gcloud": Option "gcloud" not found
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[TRACE] - (starship::modules): Took 9.7591ms to compute module "aws"
[TRACE] - (starship::config): No config found for "aws": Option "aws" not found
[TRACE] - (starship::config): Parsing color_string: white
[TRACE] - (starship::config): Read predefined color: white
[TRACE] - (starship::config): No config found for "env_var_displayer": Option "env_var_displayer" not found
[TRACE] - (starship::modules): Took 5.5282ms to compute module "env_var"
[TRACE] - (starship::config): No config found for "crystal": Option "crystal" not found
[TRACE] - (starship::config): No config found for "crystal": Option "crystal" not found
[TRACE] - (starship::modules): Took 66µs to compute module "crystal"
[TRACE] - (starship::config): Parsing color_string: blue
[TRACE] - (starship::config): Read predefined color: blue
[TRACE] - (starship::config): No config found for "git_state": Option "git_state" not found
[TRACE] - (starship::config): No config found for "git_state": Option "git_state" not found
[TRACE] - (starship::config): Parsing color_string: white
[TRACE] - (starship::config): Read predefined color: white
[TRACE] - (starship::config): No config found for "php": Option "php" not found
[TRACE] - (starship::modules): Took 2.8889ms to compute module "php"
[TRACE] - (starship::config): No config found for "php": Option "php" not found
[TRACE] - (starship::config): No config found for "pulumi": Option "pulumi" not found
[TRACE] - (starship::config): No config found for "pulumi": Option "pulumi" not found
[TRACE] - (starship::modules): Took 13.0912ms to compute module "nix_shell"
[TRACE] - (starship::config): No config found for "jobs": Option "jobs" not found
[TRACE] - (starship::config): No config found for "jobs": Option "jobs" not found
[TRACE] - (starship::modules): Took 21.8µs to compute module "jobs"
[TRACE] - (starship::config): No config found for "cmd_duration": Option "cmd_duration" not found
[TRACE] - (starship::config): No config found for "cmd_duration": Option "cmd_duration" not found
[TRACE] - (starship::modules): Took 432.6µs to compute module "git_state"
[TRACE] - (starship::config): No config found for "character": Option "character" not found
[TRACE] - (starship::config): No config found for "character": Option "character" not found
[DEBUG] - (starship::config): Custom config found for "free_space": Some(Table({"command": String("df -h / | tail -1 | awk '{print $4}'"), "when": String("whoami"), "style": String("bold fg:cyan"), "symbol": String("💾\u{fe0f} ")}))
[TRACE] - (starship::modules::custom): Running 'whoami'
[TRACE] - (starship::utils): Creating Command for binary "bash"
[TRACE] - (starship::config): No config found for "line_break": Option "line_break" not found
[TRACE] - (starship::config): No config found for "line_break": Option "line_break" not found
[TRACE] - (starship::modules): Took 71.2µs to compute module "line_break"
[TRACE] - (starship::config): Parsing color_string: yellow
[TRACE] - (starship::config): Read predefined color: yellow
[TRACE] - (starship::utils): Trying to read from "/home/user/.config/gcloud/active_config"
[TRACE] - (starship::config): Parsing color_string: green
[TRACE] - (starship::config): Read predefined color: green
[TRACE] - (starship::modules): Took 1.7082ms to compute module "character"
[TRACE] - (starship::config): No config found for "rlang": Option "rlang" not found
[TRACE] - (starship::config): No config found for "rlang": Option "rlang" not found
[TRACE] - (starship::modules): Took 139.5µs to compute module "rlang"
[TRACE] - (starship::config): No config found for "red": Option "red" not found
[TRACE] - (starship::config): No config found for "red": Option "red" not found
[TRACE] - (starship::modules): Took 124.8µs to compute module "red"
[TRACE] - (starship::config): No config found for "ruby": Option "ruby" not found
[TRACE] - (starship::config): No config found for "ruby": Option "ruby" not found
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[TRACE] - (starship::config): No config found for "openstack": Option "openstack" not found
[TRACE] - (starship::modules): Took 8.0628ms to compute module "openstack"
[TRACE] - (starship::config): No config found for "openstack": Option "openstack" not found
[TRACE] - (starship::config): No config found for "purescript": Option "purescript" not found
[TRACE] - (starship::config): No config found for "purescript": Option "purescript" not found
[TRACE] - (starship::modules): Took 20µs to compute module "purescript"
[TRACE] - (starship::config): No config found for "python": Option "python" not found
[TRACE] - (starship::config): No config found for "python": Option "python" not found
[TRACE] - (starship::modules): Took 59.8µs to compute module "python"
[TRACE] - (starship::config): No config found for "cmake": Option "cmake" not found
[TRACE] - (starship::config): No config found for "cmake": Option "cmake" not found
[TRACE] - (starship::modules): Took 218.4µs to compute module "cmake"
[TRACE] - (starship::config): No config found for "rust": Option "rust" not found
[TRACE] - (starship::config): No config found for "rust": Option "rust" not found
[TRACE] - (starship::modules): Took 39.6µs to compute module "rust"
[TRACE] - (starship::modules): Took 3.5524ms to compute module "shell"
[DEBUG] - (starship::config): Config found for "time": Some(Table({"disabled": Boolean(false)}))
[DEBUG] - (starship::config): Config found for "time": Some(Table({"disabled": Boolean(false)}))
[TRACE] - (starship::modules::time): Timer module is enabled with format string: %T
[TRACE] - (starship::modules): Took 1.7695ms to compute module "cmd_duration"
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[TRACE] - (starship::modules): Took 9.3872ms to compute module "gcloud"
[TRACE] - (starship::config): No config found for "gcloud": Option "gcloud" not found
[DEBUG] - (starship::modules::battery): Battery found: Battery { impl: LinuxDevice { root: "/sys/class/power_supply/BAT1" }, vendor: Some(""), model: Some("Microsoft Hyper-V Virtual BatterVirtual"), serial_number: Some("Virtual"), technology: Unknown, state: Full, capacity: 1.0, temperature: None, percentage: 1.0, cycle_count: None, energy: 18000.0 m^2 kg^1 s^-2, energy_full: 18000.0 m^2 kg^1 s^-2, energy_full_design: 18000.0 m^2 kg^1 s^-2, energy_rate: 0.0 m^2 kg^1 s^-3, voltage: 5.0 m^2 kg^1 s^-3 A^-1, time_to_full: None, time_to_empty: None }
[TRACE] - (starship::utils): stdout: "", stderr: "", exit code: "Some(0)", took 11.9913ms
[TRACE] - (starship::config): Parsing color_string: blue
[DEBUG] - (starship::modules::battery): Battery status: BatteryStatus { percentage: 100.0, state: Full }
[TRACE] - (starship::config): No config found for "battery": Option "battery" not found
[TRACE] - (starship::modules): Took 12.8922ms to compute module "battery"
[TRACE] - (starship::config): No config found for "battery": Option "battery" not found
[TRACE] - (starship::modules): Took 34.5µs to compute module "ruby"
[TRACE] - (starship::utils): Using "/nix/store/1cxrpmfwwvncncsp1hnmkapijsx927zj-bash-interactive-5.1-p8/bin/bash" as "bash"
[TRACE] - (starship::config): Read predefined color: blue
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[TRACE] - (starship::config): Parsing color_string: yellow
[TRACE] - (starship::config): Read predefined color: yellow
[TRACE] - (starship::modules::pulumi): Looking for package file in "/home/user"
[TRACE] - (starship::config): No config found for "elm": Option "elm" not found
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[TRACE] - (starship::modules): Took 18.5107ms to compute module "sudo"
[TRACE] - (starship::modules): Took 3.3541ms to compute module "time"
[TRACE] - (starship::modules::pulumi): Looking for package file in "/home"
[TRACE] - (starship::modules): Took 24.9602ms to compute module "elm"
[TRACE] - (starship::config): No config found for "elm": Option "elm" not found
[TRACE] - (starship::modules::pulumi): Looking for package file in "/"
[TRACE] - (starship::modules::pulumi): Did not find a Pulumi package file
[TRACE] - (starship::modules): Took 10.9031ms to compute module "pulumi"
[TRACE] - (starship::config): No config found for "pulumi": Option "pulumi" not found
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[TRACE] - (starship::modules::custom): Running 'df -h / | tail -1 | awk '{print $4}''
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[TRACE] - (starship::utils): Creating Command for binary "bash"
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[TRACE] - (starship::utils): Using "/nix/store/1cxrpmfwwvncncsp1hnmkapijsx927zj-bash-interactive-5.1-p8/bin/bash" as "bash"
[DEBUG] - (starship::utils): Error reading file: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[TRACE] - (starship::modules): Took 23.3132ms to compute module "package"
[TRACE] - (starship::config): No config found for "package": Option "package" not found
[TRACE] - (starship::config): Parsing color_string: cyan
[TRACE] - (starship::config): Read predefined color: cyan
[TRACE] - (starship::modules::custom): Took 24.8496ms to compute custom module "free_space"
[DEBUG] - (starship::config): Custom config found for "vault": Some(Table({"when": String("gopass ls"), "style": String("bold fg:cyan"), "symbol": String("�\\u{fe0f} ")}))
[TRACE] - (starship::modules::custom): Running 'gopass ls'
[TRACE] - (starship::utils): Creating Command for binary "bash"
[TRACE] - (starship::utils): Using "/nix/store/1cxrpmfwwvncncsp1hnmkapijsx927zj-bash-interactive-5.1-p8/bin/bash" as "bash"
[TRACE] - (starship::modules::custom): Running ''
[TRACE] - (starship::utils): Creating Command for binary "bash"
[TRACE] - (starship::utils): Using "/nix/store/1cxrpmfwwvncncsp1hnmkapijsx927zj-bash-interactive-5.1-p8/bin/bash" as "bash"
[TRACE] - (starship::config): Parsing color_string: cyan
[TRACE] - (starship::config): Read predefined color: cyan
[TRACE] - (starship::modules::custom): Took 171.0231ms to compute custom module "vault" |
…filters All obtained from starship: starship/starship#3841
Bug Report
Current Behavior
In one of my repositories (closed source unfortunately) the starship modules for git do not work, while on all other repositories they works just fine. The prompt looks like this
Expected Behavior
Something like
Additional context/Screenshots
Here is some trace output for the git_branch module
If you need me to trace anything else, I'd be happy to.
Environment
Relevant Shell Configuration
Nushell config:
Starship Configuration
The default, no custom file.
The text was updated successfully, but these errors were encountered: