Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/cargo/libgit2-sys-0.16.21.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nbari authored Mar 10, 2024
2 parents aa9489e + 551cf83 commit 89426d4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ function slick_prompt_precmd() {

function slick_prompt_preexec() {
slick_prompt_timestamp=$EPOCHSECONDS

# Set cursor style
# 0 ⇒ blinking block.
# 1 ⇒ blinking block (default).
# 2 ⇒ steady block.
# 3 ⇒ blinking underline.
# 4 ⇒ steady underline.
# 5 ⇒ blinking bar, xterm.
# 6 ⇒ steady bar, xterm.

echo -ne "\e[4 q";
}
```

Expand All @@ -77,6 +88,8 @@ Set this environment variables to change color/symbols, for example:
export SLICK_PROMPT_GIT_BRANCH_COLOR=202
export SLICK_PROMPT_GIT_FETCH=0
export SLICK_PROMPT_GIT_MASTER_BRANCH_COLOR=white
export SLICK_PROMPT_GIT_REMOTE_AHEAD=""
export SLICK_PROMPT_GIT_REMOTE_BEHIND=""
export SLICK_PROMPT_GIT_REMOTE_COLOR=40
export SLICK_PROMPT_GIT_STAGED_COLOR=1
export SLICK_PROMPT_GIT_STATUS_COLOR=cyan
Expand All @@ -90,6 +103,7 @@ Set this environment variables to change color/symbols, for example:
export SLICK_PROMPT_TIME_ELAPSED_COLOR=1
export SLICK_PROMPT_VICMD_COLOR="yellow"
export SLICK_PROMPT_VICMD_SYMBOL="❮"
export SLICK_PROMPT_NON_BREAKING_SPACE=" "


`SLICK_PROMPT_GIT_FETCH=0` prevents doing a `git fetch`
Expand Down

0 comments on commit 89426d4

Please sign in to comment.