From 7729500176a702cb081c3fdfe4eff56f30f90da9 Mon Sep 17 00:00:00 2001 From: David Fowler Date: Tue, 7 Apr 2020 11:40:01 -0700 Subject: [PATCH] Rename tye to dtye (#311) --- activate.ps1 | 4 ++-- activate.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }