{"id":20598920,"url":"https://github.com/justinyoo/oh-my-azure-cloud-shell","last_synced_at":"2025-04-15T00:23:48.582Z","repository":{"id":146057729,"uuid":"438601012","full_name":"justinyoo/oh-my-azure-cloud-shell","owner":"justinyoo","description":"This provides an OPINIONATED collection of scripts to set up oh-my-zsh and oh-my-posh to your Azure Cloud Shell environment","archived":false,"fork":false,"pushed_at":"2022-02-05T14:32:16.000Z","size":242,"stargazers_count":15,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T12:21:10.402Z","etag":null,"topics":["azure-cloud-shell","oh-my-posh","oh-my-zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justinyoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-15T11:16:25.000Z","updated_at":"2025-03-04T15:21:34.000Z","dependencies_parsed_at":"2023-05-03T17:35:54.334Z","dependency_job_id":null,"html_url":"https://github.com/justinyoo/oh-my-azure-cloud-shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinyoo%2Foh-my-azure-cloud-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinyoo%2Foh-my-azure-cloud-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinyoo%2Foh-my-azure-cloud-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinyoo%2Foh-my-azure-cloud-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinyoo","download_url":"https://codeload.github.com/justinyoo/oh-my-azure-cloud-shell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248982186,"owners_count":21193362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-cloud-shell","oh-my-posh","oh-my-zsh"],"created_at":"2024-11-16T08:29:32.897Z","updated_at":"2025-04-15T00:23:48.574Z","avatar_url":"https://github.com/justinyoo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oh My Azure Cloud Shell #\n\nThis provides an **OPINIONATED** collection of scripts to set up [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh) and [oh-my-posh](https://ohmyposh.dev/) to your [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=dotnet-52663-juyoo) environment.\n\n\n## Getting Started ##\n\n\n### For oh-my-zsh ###\n\nIf you want to apply [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh) to your [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=dotnet-52663-juyoo) environment, follow the steps below:\n\n1. Open your [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=dotnet-52663-juyoo).\n2. Make sure you are in the bash prompt. If you are in the PowerShell prompt, enter `bash` to switch the prompt.\n3. Clone this repository to your [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=dotnet-52663-juyoo).\n\n    ```bash\n    git clone https://github.com/justinyoo/oh-my-azure-cloud-shell.git ~/oh-my-azure-cloud-shell\n    ```\n\n4. Run the following commands and follow the instruction on the screen.\n\n    ```bash\n    ~/oh-my-azure-cloud-shell/install.sh\n    ```\n\n   The command above will install the [Spaceship](https://github.com/spaceship-prompt/spaceship-prompt) theme by default. If you prefer the [Powerlevel10k](https://github.com/romkatv/powerlevel10k) theme, run the following command:\n\n    ```bash\n    # Turn on the clock feature\n    ~/oh-my-azure-cloud-shell/install.sh -t p10k -c\n\n    # Turn off the clock feature\n    ~/oh-my-azure-cloud-shell/install.sh -t p10k\n    ```\n\n5. Restart your [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=dotnet-52663-juyoo).\n6. If you want to turn on or off the clock feature while using the [Powerlevel10k](https://github.com/romkatv/powerlevel10k) theme, run the following command:\n\n    ```bash\n    # Turn on the clock feature\n    ~/oh-my-azure-cloud-shell/switch-p10k-clock.sh -c\n    source ~/.p10k.zsh\n\n    # Turn off the clock feature\n    ~/oh-my-azure-cloud-shell/switch-p10k-clock.sh\n    source ~/.p10k.zsh\n    ```\n\n\n### For oh-my-posh ###\n\nIf you want to apply [oh-my-posh](https://ohmyposh.dev/) to your [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=dotnet-52663-juyoo) environment, follow the steps below:\n\n1. Open your [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=dotnet-52663-juyoo).\n2. Make sure you are in the PowerShell prompt. If you are in the bash prompt, enter `pwsh` to switch the prompt.\n3. Clone this repository to your [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?WT.mc_id=dotnet-52663-juyoo).\n\n    ```powershell\n    git clone https://github.com/justinyoo/oh-my-azure-cloud-shell.git ~/oh-my-azure-cloud-shell\n    ```\n\n4. Run the following commands and follow the instruction on the screen.\n\n    ```powershell\n    ~/oh-my-azure-cloud-shell/install.ps1\n    ```\n\n   The command above will install the [Spaceship](https://ohmyposh.dev/docs/themes#spaceship) theme by default. If you prefer the [Powerlevel10k - Rainbow](https://ohmyposh.dev/docs/themes#powerlevel10k_rainbow) theme, run the following command:\n\n    ```powershell\n    # Turn on the clock feature\n    ~/oh-my-azure-cloud-shell/install.ps1 -Theme p10k -WithClock\n\n    # Turn off the clock feature\n    ~/oh-my-azure-cloud-shell/install.ps1 -Theme p10k\n    ```\n\n5. If you want to turn on or off the clock feature while using the [Powerlevel10k - Rainbow](https://ohmyposh.dev/docs/themes#powerlevel10k_rainbow) theme, run the following command:\n\n    ```powershell\n    # Turn on the clock feature\n    ~/oh-my-azure-cloud-shell/switch-p10k-clock.ps1 -WithClock\n    . $PROFILE\n\n    # Turn off the clock feature\n    ~/oh-my-azure-cloud-shell/switch-p10k-clock.ps1\n    . $PROFILE\n    ```\n\n\n## Elements of oh-my-zsh ##\n\n* Themes:\n  * [Spaceship](https://github.com/spaceship-prompt/spaceship-prompt)\n  * [Powerlevel10k](https://github.com/romkatv/powerlevel10k)\n* Plugins:\n  * [zsh-completions](https://github.com/zsh-users/zsh-completions)\n  * [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)\n  * [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)\n\n\n## Elements of oh-my-posh ##\n\n* Themes:\n  * [Spaceship](https://ohmyposh.dev/docs/themes#spaceship)\n  * [Powerlevel10k - Rainbow](https://ohmyposh.dev/docs/themes#powerlevel10k_rainbow)\n* Plugins:\n  * [Terminal Icons](https://github.com/devblackops/Terminal-Icons)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinyoo%2Foh-my-azure-cloud-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinyoo%2Foh-my-azure-cloud-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinyoo%2Foh-my-azure-cloud-shell/lists"}