Mentions légales du service

Skip to content
Snippets Groups Projects

Starship prompt

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Julien Wintz

    https://starship.rs - The minimal, blazing-fast, and infinitely customizable prompt for any shell!

    Edited
    .config/starship.toml 2.01 KiB
    ## #############################################################################
    ## Preamble
    ## #############################################################################
    
    #
    # .zshrc or so ...
    #
    
    # eval "$(starship init zsh)"
    
    ## #############################################################################
    ## Configuration
    ## #############################################################################
    
    format = """
    $username\
    $hostname\
    $localip\
    $shlvl\
    $singularity\
    $kubernetes\
    $directory\
    $character"""
    
    right_format = """$all"""
    
    [line_break]
    disabled = false
    
    [hostname]
    ssh_only = false
    disabled = false
    
    [username]
    disabled = false
    show_always = true
    
    [character]
    success_symbol = "[λ](bold green)"
    error_symbol = "[λ](bold red)"
    vicmd_symbol = "[λ](bold green)"
    
    [git_commit]
    tag_symbol = " tag "
    
    [git_status]
    ahead = ">"
    behind = "<"
    diverged = "<>"
    renamed = "r"
    deleted = "x"
    
    [jobs]
    symbol = "◉ "
    
    [aws]
    symbol = "aws "
    
    [bun]
    symbol = "bun "
    
    [c]
    symbol = "C "
    
    [cobol]
    symbol = "cobol "
    
    [conda]
    symbol = "conda "
    
    [crystal]
    symbol = "cr "
    
    [cmake]
    symbol = "cmake "
    
    [daml]
    symbol = "daml "
    
    [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 "
    
    [lua]
    symbol = "lua "
    
    [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 "
    
    [raku]
    symbol = "raku "
    
    [ruby]
    symbol = "rb "
    
    [rust]
    symbol = "rs "
    
    [scala]
    symbol = "scala "
    
    [spack]
    symbol = "spack "
    
    [sudo]
    symbol = "sudo "
    
    [time]
    disabled = false
    
    [swift]
    symbol = "swift "
    
    [terraform]
    symbol = "terraform "
    
    [zig]
    symbol = "zig "
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment