fish: rename prompt functions
This commit is contained in:
parent
2738e8d6a9
commit
584034e053
9 changed files with 27 additions and 27 deletions
|
@ -1,12 +1,12 @@
|
|||
function fish_prompt
|
||||
set -g prompt_string
|
||||
set -g prev_color
|
||||
prompt.add \[ brblack
|
||||
prompt.user
|
||||
prompt.add (prompt_pwd) blue
|
||||
prompt.git
|
||||
prompt.add \] brblack
|
||||
prompt.bang
|
||||
fish_prompt.add \[ brblack
|
||||
fish_prompt.user
|
||||
fish_prompt.add (prompt_pwd) blue
|
||||
fish_prompt.git
|
||||
fish_prompt.add \] brblack
|
||||
fish_prompt.bang
|
||||
|
||||
echo $prompt_string
|
||||
set -e prompt_string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue