Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Comments adjusted in section_nix
Browse files Browse the repository at this point in the history
  • Loading branch information
geier1993 authored and Philipp Geier committed May 5, 2021
1 parent 1d40076 commit 2abf286
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions functions/__sf_section_nix.fish
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pyenv
# nix
#

function __sf_section_nix -d "Show in nix-shell indicator"
Expand All @@ -16,10 +16,10 @@ function __sf_section_nix -d "Show in nix-shell indicator"
# Section
# ------------------------------------------------------------------------------

# Show nix-shell python version
# Show in-nix-shell indicator
[ $SPACEFISH_NIX_SHOW = false ]; and return

# Show nix-shell python version only for Python-specific folders
# Show nix-shell symbol only in a nix shell
if not test -n "$IN_NIX_SHELL"
return
end
Expand Down

0 comments on commit 2abf286

Please sign in to comment.