Files
dotfiles-new/dotfiles/spaceship/spaceship.zsh
T

39 lines
986 B
Bash

#!/usr/bin/env zsh
#
# Spaceship ZSH
# CUSTOM
# Display Time
SPACESHIP_TIME_SHOW=true
SPACESHIP_TIME_PREFIX=""
# Display username always
SPACESHIP_USER_SHOW=always
SPACESHIP_USER_COLOR="green"
SPACESHIP_USER_PREFIX=""
SPACESHIP_USER_COLOR_ROOT="red"
#SPACESHIP_PROMPT_ADD_NEWLINE=true
SPACESHIP_PROMPT_SEPARATE_LINE=true
# Do not truncate path in repos
SPACESHIP_DIR_TRUNC_REPO=false
#Hide ansible prefix
SPACESHIP_ANSIBLE_SHOW=false
#Show hostname
SPACESHIP_HOST_SHOW="always"
SPACESHIP_HOST_COLOR="red"
if [ -z "$SPACESHIP_PROMPT_ORDER" ]; then
SPACESHIP_PROMPT_ORDER=(
time # Time stamps section
# host
user # Username section
dir # Current directory section
git # Git section (git_branch + git_status)
# battery # Battery level and status
jobs # Background jobs indicator
exit_code # Exit code section
sudo # Sudo indicator
char # Prompt character
)
fi