Skip to content

Commit

Permalink
feat: add version
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchristiansen committed Oct 8, 2022
1 parent 1f7be89 commit 0a47578
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ still be used.
|--------------------|-------------------------------------------------------------|------------------------------------|
| `vertical_newline` | `true` | Insert a newline before the prompt |
| `vertical_order` | `jobs user host dir git_branch git_status duration vi_mode` | Order to display components |
| `vertical_version` | `1.0.0` | Current version |

### Cue

Expand Down
1 change: 1 addition & 0 deletions functions/fish_prompt.fish
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ function fish_prompt
__vertical_util_set vertical_newline true
__vertical_util_set vertical_order jobs user host dir git_branch \
git_status duration vi_mode
__vertical_util_set vertical_version 1.0.0

if [ $vertical_newline = true ]
echo
Expand Down
1 change: 1 addition & 0 deletions functions/vertical_clear_configuration.fish
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function vertical_clear_configuration -d 'Clear vertical prompt configuration'
set -eU vertical_user_prefix
set -eU vertical_user_prefix_color
set -eU vertical_user_ssh_only
set -eU vertical_version
set -eU vertical_vert_bottom
set -eU vertical_vert_color_failure
set -eU vertical_vert_color_success
Expand Down

0 comments on commit 0a47578

Please sign in to comment.