summaryrefslogtreecommitdiff
path: root/src/virtualenv/activation/cshell/__init__.py
blob: 9065d99a2cedc56a8d794d18f920de4922ccb06e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from __future__ import annotations

from ..via_template import ViaTemplateActivator


class CShellActivator(ViaTemplateActivator):
    @classmethod
    def supports(cls, interpreter):
        return interpreter.os != "nt"

    def templates(self):
        yield "activate.csh"


__all__ = [
    "CShellActivator",
]