migrate to dotter
This commit is contained in:
parent
c5618f2f2c
commit
23b6c0a596
265 changed files with 62 additions and 3125 deletions
13
configs/fish/functions/_pure_prompt_nixdevshell.fish
Normal file
13
configs/fish/functions/_pure_prompt_nixdevshell.fish
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
function _pure_prompt_nixdevshell \
|
||||
--description "Indicate if nix develop shell is activated"
|
||||
|
||||
if set --query pure_enable_nixdevshell;
|
||||
and test "$pure_enable_nixdevshell" = true;
|
||||
and test -n "$IN_NIX_SHELL"
|
||||
|
||||
set --local prefix (_pure_set_color $pure_color_nixdevshell_prefix)$pure_symbol_nixdevshell_prefix
|
||||
set --local symbol (_pure_set_color $pure_color_nixdevshell_status)$IN_NIX_SHELL
|
||||
|
||||
echo "$prefix$symbol"
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue