From 326726b7a0d179eb1546836132c75ad442dff52e Mon Sep 17 00:00:00 2001 From: James Patrick Date: Thu, 2 May 2019 01:04:01 -0400 Subject: [PATCH] Added map for prompt --- zsh/zshenv | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/zsh/zshenv b/zsh/zshenv index 318ad4a..7c73eea 100644 --- a/zsh/zshenv +++ b/zsh/zshenv @@ -18,6 +18,35 @@ export PAGER='less' # Remove -X and -F (exit if the content fits on one screen) to enable it. export LESS='-F -g -i -M -R -S -w -X -z-4' +if [ -z "$SPACESHIP_PROMPT_ORDER" ]; then + SPACESHIP_PROMPT_ORDER=( + time # Time stampts section + user # Username section + dir # Current directory section + host # Hostname section + git # Git section (git_branch + git_status) + package # Package version + node # Node.js section + ruby # Ruby section + elm # Elm section + golang # Go section + rust # Rust section + haskell # Haskell Stack section + docker # Docker section + venv # virtualenv section + pyenv # Pyenv section + kubecontext # Kubectl context section + terraform # Terraform workspace section + exec_time # Execution time + line_sep # Line break + battery # Battery level and status + vi_mode # Vi-mode indicator + jobs # Background jobs indicator + exit_code # Exit code section + char # Prompt character + ) +fi + # Set tmux profile default values. zstyle ':tmux:auto-start' local 'yes'