You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1KB

  1. # Spaceship prompt
  2. autoload -U promptinit; promptinit
  3. prompt spaceship
  4. SPACESHIP_PROMPT_ADD_NEWLINE=false
  5. SPACESHIP_PROMPT_SEPARATE_LINE=true
  6. SPACESHIP_PROMPT_ORDER=(
  7. user # Username section
  8. dir # Current directory section
  9. host # Hostname section
  10. git # Git section (git_branch + git_status)
  11. package # Package version
  12. node # Node.js section
  13. ruby # Ruby section
  14. golang # Go section
  15. php # PHP section
  16. rust # Rust section
  17. docker # Docker section
  18. python
  19. conda # conda virtualenv section
  20. dotnet # .NET section
  21. exec_time # Execution time
  22. line_sep # Line break
  23. jobs # Background jobs indicator
  24. exit_code # Exit code section
  25. char # Prompt character
  26. )
  27. SPACESHIP_RPROMPT_ORDER=(
  28. battery
  29. time
  30. )
  31. SPACESHIP_TIME_SHOW=true
  32. # Completion for kitty
  33. if which kitty > /dev/null; then
  34. kitty + complete setup zsh | source /dev/stdin
  35. fi
  36. # keychain
  37. #eval $(keychain --eval --quiet --agents "gpg,ssh" id_ed25519 id_rsa)