migrate to dotter
This commit is contained in:
parent
c5618f2f2c
commit
23b6c0a596
265 changed files with 62 additions and 3125 deletions
12
configs/fish/functions/_pure_get_prompt_symbol.fish
Normal file
12
configs/fish/functions/_pure_get_prompt_symbol.fish
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
function _pure_get_prompt_symbol \
|
||||
--description 'Print prompt symbol' \
|
||||
--argument-names exit_code
|
||||
|
||||
set --local prompt_symbol $pure_symbol_prompt
|
||||
test "$pure_reverse_prompt_symbol_in_vimode" = true
|
||||
and string match -rq "fish_(vi|hybrid)_key_bindings" $fish_key_bindings
|
||||
and not contains "$fish_bind_mode" insert replace
|
||||
and set prompt_symbol $pure_symbol_reverse_prompt
|
||||
|
||||
echo "$prompt_symbol"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue