Find it with

$profile

And custom it

Microsoft.PowerShell_profile.ps1
function ssh-domain {
ssh user@domain.com
}
function flutter-clean {
flutter clean ; flutter pub get
}
function flutter-rebuild {
flutter clean ; flutter pub get ; flutter run
}
function flutter-build {
flutter build apk --split-per-abi ; cp build\app\outputs\flutter-apk\app-armeabi-v7a-release.apk
}
function cd {
cd C:/Users/ewila
}
# Laravel
function artisan-setup {
composer install ; php artisan key:generate ; php artisan storage:link
if(!(Test-Path -Path '.env')) {
New-Item .env
}
}
function artisan-serve {
php artisan serve
}
function artisan-seed {
php artisan migrate:fresh --seed
}
function artisan-clear {
php artisan cache:clear ; php artisan config:clear ; php artisan route:clear ; php artisan view:clear
}
function artisan-routes {
php artisan route:list --compact
}
function artisan-helper {
php artisan ide-helper:generate ; php artisan ide-helper:models ; php artisan ide-helper:meta
}
function php-cs-fix {
./vendor/bin/php-cs-fixer fix
}
# composer
function composer-v {
composer --version
}
function composer-($version) {
composer self-update --$version
}
# php
function php7.2 {
scoop reset php/php7.2-nts
}
function php7.3 {
scoop reset php/php7.3-nts
}
function php7.4 {
scoop reset php/php7.4-nts
}
function php8.0 {
scoop reset php/php-nts
}
function add-path($path) {
$INCLUDE = "$path" ; $OLDPATH = [System.Environment]::GetEnvironmentVariable('PATH','user') ; $NEWPATH = "$OLDPATH;$INCLUDE" ; [Environment]::SetEnvironmentVariable("PATH", "$NEWPATH", "user")
}
function ll {
ls
}
function history {
cat (Get-PSReadlineOption).HistorySavePath
}