Skip to content

Commit

Permalink
Fixed tcsh activation message.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Nov 8, 2023
1 parent 0f24ee5 commit a409c43
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/assets/contents/shells/tcshrc_append.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ setenv {{$K}} "{{$V}}:$PATH"
{{- else}}
{{- end}}
{{- end}}
if ( "${{.ActivatedEnv}}" != "" && -f "${{.ActivatedEnv}}/{{.ConfigFile}}" ) then
echo "State Tool is operating on project ${{.ActivatedNamespaceEnv}}, located at ${{.ActivatedEnv}}"
if ( $?{{.ActivatedEnv}} ) then
if ( -f "${{.ActivatedEnv}}/{{.ConfigFile}}" ) then
echo "State Tool is operating on project ${{.ActivatedNamespaceEnv}}, located at ${{.ActivatedEnv}}"
endif
endif
# {{.Stop}}

0 comments on commit a409c43

Please sign in to comment.