update starship and lsd for tty detection

This commit is contained in:
Daylin Morgan 2022-05-18 00:30:01 -05:00
parent 3f7ea82def
commit 2c937133a9
3 changed files with 190 additions and 10 deletions

View file

@ -2,23 +2,83 @@
format = "[$user]($style) on "
[character]
success_symbol = "[](bold green)[](bold yellow)[](bold cyan)"
# success_symbol = "[](bold green)[](bold yellow)[](bold cyan)"
success_symbol = "[⁘](bold green)[⁘](bold yellow)[⁘](bold cyan)"
error_symbol = "[✗](bold red) "
# ⁘
[gcloud]
disabled = true
[python]
disabled = true
[rlang]
disabled = true
[nodejs]
disabled = true
# nerd font symbols
[aws]
symbol = " "
[buf]
symbol = " "
[c]
symbol = " "
[conda]
symbol = " "
[dart]
symbol = " "
[directory]
read_only = " "
[docker_context]
symbol = " "
[elixir]
symbol = " "
[elm]
symbol = " "
[git_branch]
symbol = " "
[golang]
disabled = true
symbol = " "
[haskell]
symbol = " "
[hg_branch]
symbol = " "
[java]
symbol = " "
[julia]
symbol = " "
[memory_usage]
symbol = " "
[nim]
symbol = " "
[nix_shell]
symbol = " "
[nodejs]
symbol = " "
[package]
disabled = true
symbol = " "
[python]
symbol = " "
[spack]
symbol = "🅢 "
[rust]
symbol = " "

View file

@ -0,0 +1,119 @@
[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 "
[gcloud]
disabled = true

View file

@ -27,7 +27,8 @@ alias code2="code-insiders"
# ls -> lsd | swap ls for ls-deluxe
if is-executable lsd; then
alias ls='lsd'
is-tty && alias lsd="lsd --icon never"
alias ls='lsd'
alias l='lsd -l'
alias la='lsd -a'
alias lla='lsd -la'