Skip to content

Commit

Permalink
Rename tye to dtye (dotnet#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl authored Apr 7, 2020
1 parent e08721e commit 7729500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions activate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
}

Expand Down
4 changes: 2 additions & 2 deletions activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ $sourced -eq 0 ]; then
exit 1
fi

tye () {
dtye () {
dotnet run --project "$THIS_SCRIPT/src/tye" "$@"
}

Expand Down Expand Up @@ -61,7 +61,7 @@ deactivate () {
if [ ! "${1:-}" = "init" ] ; then
# Remove the deactivate function
unset -f deactivate
unset -f tye
unset -f dtye
fi
}

Expand Down

0 comments on commit 7729500

Please sign in to comment.