v2.0.0: Fish 3.0.0 | Vim mode | Customization | Tests
With this major release we
Be sure to read the Migration guide section carefully.
Features
- fish
3.0.0support 🎉 (see #126, #127, #128) ; - More customization control (see #103, v1.11.0) ;
- Vim mode support (see #45) ;
- Travis configuration to run against multiple fish versions (see #122) ;
- Add tests massively #63, #96 ;
- Add a CONTRIBUTING.md ;
- add
pure_versionvariable (see v1.12.0) - Let user customize fish_right_prompt (see #104, v1.13.0)
Installation
fisher add rafaelrinaldi/pure
Migration Guide v1.x to v2.0.0
If you customized your pure using your ~/config.fish you will have to update it by renaming some variables and changing default value to others.
🚑 Script
We provide a migration script to help you with this tiedous work. However, you still might have to do some manual edit:
tools/migration-to-2.0.0.fish [/path/to/my/config.fish]
Variables Type Changes
💣 Fresh Session
-
_pure_fresh_sessionchanged from integer to a boolean 9f8b8a9-set -g _pure_fresh_session 1 +set -g _pure_fresh_session true
💣 Beginning Prompt With Current Working Directory
-
pure_user_host_locationhas been renamedpure_prompt_begin_with_current_directoryas an affirmative boolean statement 731a406-_pure_set_default pure_user_host_location 0 +_pure_set_default pure_prompt_begin_with_current_directory true
See conf.d/pure.fish for details.
💣 Separate Prompt on Error
-
pure_separate_prompt_on_errorchanged from integer to a boolean 74f028d-_pure_set_default pure_separate_prompt_on_error 0 +_pure_set_default pure_separate_prompt_on_error false
Variables Renaming
💣 Base Color
-
rename
$pure_color_whiteas$pure_color_light-pure_color_white +pure_color_light
-
rename
$pure_color_yellowas$pure_color_warning-pure_color_yellow +pure_color_warning
-
rename
$pure_color_redas$pure_color_danger-pure_color_red +pure_color_danger
-
rename
$pure_color_magentaas$pure_color_success-pure_color_magenta +pure_color_success
-
rename
$pure_color_grayas$pure_color_mute-pure_color_gray +pure_color_mute
-
rename
$pure_color_cyanas$pure_color_info-pure_color_cyan +pure_color_info
-
rename
$pure_color_blueas$pure_color_primary-pure_color_blue +pure_color_primary
💣 Prompt Colors Variables
-
rename
$pure_color_symbol_erroras$pure_color_prompt_on_error7de59a3-pure_color_symbol_error +pure_color_prompt_on_error
-
rename
$pure_color_symbol_successas$pure_color_prompt_on_successf94207b-pure_color_symbol_success +pure_color_prompt_on_success
💣 Git Feature Variables
-
rename
$pure_symbol_git_arrow_upas$pure_symbol_git_unpushed_commits-pure_symbol_git_arrow_up +pure_symbol_git_unpushed_commits
-
rename
$pure_symbol_git_arrow_downas$pure_symbol_git_unpulled_commits-pure_symbol_git_arrow_down +pure_symbol_git_unpulled_commits
-
split
$pure_color_git_pending_commitsas$pure_color_git_unpushed_commitsand$pure_color_git_unpulled_commits-pure_color_git_pending_commits +pure_color_git_unpushed_commits +pure_color_git_unpulled_commits
💣 Max Execution Time Feature Variables
-
rename
$pure_command_max_exec_timeas$pure_threshold_command_duration-pure_command_max_exec_time +pure_threshold_command_duration
💣 Title Bar Variable
-
rename
$pure_symbol_horizontal_baras$pure_symbol_title_bar_separator-pure_symbol_horizontal_bar +pure_symbol_title_bar_separator
💣 Beginning Of Prompt Variable
-
rename
$pure_prompt_begin_with_current_directoryas$pure_begin_prompt_with_current_directory-pure_prompt_begin_with_current_directory +pure_begin_prompt_with_current_directory
💣 SSH Variable
- rename
$pure_color_ssh_hostas$pure_color_ssh_hostname-pure_color_ssh_host +pure_color_ssh_hostname
💣 Current Working Directory Variable
-
rename
$pure_color_current_folderas$pure_color_current_directory-pure_color_current_folder +pure_color_current_directory
Fixes
- Replace
fishermanwithfisherin Dockerfile #110

