Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ZSH plugin for ddev

License

NotificationsYou must be signed in to change notification settings

voronkovich/ddev.plugin.zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

ZSH plugin forddev.

Installation

antigen bundle voronkovich/ddev.plugin.zsh
zplug"voronkovich/ddev.plugin.zsh"
git clone https://github.com/voronkovich/ddev.plugin.zsh~/.oh-my-zsh/custom/plugins/ddev

Edit.zshrc to enable the plugin:

plugins=(... ddev)

Manual

Clone this repo and add this into your.zshrc:

source path/to/cloned/repo/ddev.plugin.zsh

Usage

This plugin provides a convenient wrapper aroundddev exec, making it easier to run commands within a DDEV environment.

# Runs: ddev exec bin/consoledev bin/console# Runs: ddev exec cli/joomla.phpdev cli/joomla.php

Commands

  • dev <command> [args] - Runs a command inside the DDEV environment.
  • devs - Alias fordev start, starts the DDEV project and launches the browser.
  • devo - Alias fordev open, opens the project in the browser.
  • devm - Alias fordev mails, opens the mail viewer.

Special Commands

  • dev start - Starts the DDEV environment and opens the project in the browser.
  • dev status - Shows the status of the DDEV project.
  • dev stop - Stops the DDEV environment.
  • dev restart - Restarts the DDEV environment.
  • dev open - Opens the project in the browser.
  • dev mails - Opens the mail viewer.

Installation & Upgrade Helpers

  • ddev-install - Installs DDEV using Homebrew or the official installation script.
  • ddev-upgrade - Upgrades DDEV via Homebrew or reinstalls it if not using Homebrew.

Custom Tool Wrappers

You can wrap specific tools to automatically execute inside the DDEV environment when in a DDEV project:

ddev-tools composer npm yarn

Now, runningcomposer,npm, oryarn within a DDEV project will automatically execute inside the container.

License

Copyright (c) Voronkovich Oleg. Distributed under the MIT.

About

ZSH plugin for ddev

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

    Packages

    No packages published

    Languages


    [8]ページ先頭

    ©2009-2025 Movatter.jp