feat(dotfiles): 1st commit

This commit is contained in:
Anael Ginder
2023-05-04 10:10:23 +02:00
parent ec7fb670d8
commit fae90dea56
6 changed files with 405 additions and 92 deletions
+38
View File
@@ -0,0 +1,38 @@
#!/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