Skip to content

Commit

Permalink
Some fixes + Powerline theme update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph3nol committed May 29, 2018
1 parent 20128b4 commit a5a546d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
11 changes: 2 additions & 9 deletions src/Application/DockerContainer/NginxDockerContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,9 @@ public function postExecute(): void
}

// Main Network Aliases.
$isServiceNetworkAliasable = function (ServiceInterface $service) {
return null !== $service->getHost();
};
if (true === $isServiceNetworkAliasable($service)) {
$this->addNetworkAlias(self::DOCKER_MAIN_NETWORK, $service->getHost());
}
$this->addNetworkAlias(self::DOCKER_MAIN_NETWORK, $service->getHost());
foreach ($this->vhostsServicesByHost as $vhostService) {
if ($isServiceNetworkAliasable($vhostService)) {
$this->addNetworkAlias(self::DOCKER_MAIN_NETWORK, $vhostService->getHost());
}
$this->addNetworkAlias(self::DOCKER_MAIN_NETWORK, $vhostService->getHost());
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ antigen bundle zsh-users/zsh-history-substring-search ./zsh-history-substring-se
antigen bundle command-not-found

{% if service.options.powerline|default(false) %}
POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k
antigen theme bhilburn/powerlevel9k powerlevel9k
antigen theme https://github.com/denysdovhan/spaceship-prompt spaceship
{% else %}
antigen theme nebirhos
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion src/Domain/DockerContainer/Model/DockerContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ protected function applyDotfiles(): void
// Volumes.
$this
->addVolume([
'local' => '~/.ssh', 'remote' => $this->getAbsoluteUserPath('~/.ssh'), 'type' => 'ro'
'local' => '~/.ssh', 'remote' => $this->getAbsoluteUserPath('~/.ssh'), 'type' => 'rw'
])
->addVolume([
'local' => '~/.gitconfig', 'remote' => $this->getAbsoluteUserPath('~/.gitconfig'), 'type' => 'ro'
Expand Down

0 comments on commit a5a546d

Please sign in to comment.