diff --git a/activate.ps1 b/activate.ps1 index 4021aa29..2fce1e4b 100644 --- a/activate.ps1 +++ b/activate.ps1 @@ -11,7 +11,7 @@ if ($MyInvocation.CommandOrigin -eq 'runspace') { exit 1 } -function tye() { +function dtye() { $ProjectPath = Join-Path (Join-Path $PSScriptRoot "src") "tye" dotnet run --project "$ProjectPath" @args } @@ -34,7 +34,7 @@ function deactivate ([switch]$init) { if (-not $init) { # Remove the deactivate and dev-tye functions Remove-Item function:deactivate - Remove-Item function:tye + Remove-Item function:dtye } } diff --git a/activate.sh b/activate.sh index d4a3fbd5..4aa8c1db 100755 --- a/activate.sh +++ b/activate.sh @@ -32,7 +32,7 @@ if [ $sourced -eq 0 ]; then exit 1 fi -tye () { +dtye () { dotnet run --project "$THIS_SCRIPT/src/tye" "$@" } @@ -61,7 +61,7 @@ deactivate () { if [ ! "${1:-}" = "init" ] ; then # Remove the deactivate function unset -f deactivate - unset -f tye + unset -f dtye fi }