Browse Source

Rename tye to dtye (#311)

pull/314/head
David Fowler 6 years ago
committed by GitHub
parent
commit
7729500176
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      activate.ps1
  2. 4
      activate.sh

4
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
}
}

4
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
}

Loading…
Cancel
Save