Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
chore(devcontainer): changed configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-pogor committed Aug 9, 2021
1 parent d2fd6d7 commit a9f3d95
Show file tree
Hide file tree
Showing 6 changed files with 529 additions and 409 deletions.
493 changes: 215 additions & 278 deletions .devcontainer/.p10k.zsh

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt update
RUN apt install -y curl
RUN apt install -y gnupg2
RUN apt install -y fonts-firacode
RUN apt install -y zsh
RUN apt install -y sudo
RUN apt install -y locales
RUN apt install -y vim
RUN apt install -y fontconfig
RUN locale-gen en_US.UTF-8

# Install Node.js
Expand Down Expand Up @@ -45,6 +45,12 @@ ENV TERM xterm
# Set the default shell to bash rather than sh
ENV SHELL /bin/zsh

# Install Cascadia Code Nerd Font
RUN mkdir -p ~/.local/share/fonts
RUN cd ~/.local/share/fonts && curl -fLo "Caskaydia Cove Regular Nerd Font Complete Mono.otf" https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/CascadiaCode/Regular/complete/Caskaydia%20Cove%20Regular%20Nerd%20Font%20Complete%20Mono.otf?raw=true
RUN cd ~/.local/share/fonts && curl -fLo "Caskaydia Cove Regular Nerd Font Complete.otf" https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/CascadiaCode/Regular/complete/Caskaydia%20Cove%20Regular%20Nerd%20Font%20Complete.otf?raw=true
RUN fc-cache -fv

# Run the installation script
RUN sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Expand Down
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"settings": {
"resmon.show.battery": false,
"resmon.show.cpufreq": false,
"terminal.integrated.fontFamily": "'Source Code Pro for Powerline', 'Hack Nerd Font'",
"terminal.integrated.fontFamily": "CaskaydiaCove NF, Cascadia Mono, Consolas, 'Courier New', monospace",
"terminal.integrated.shell.linux": "/bin/zsh"
},
"extensions": [
Expand All @@ -14,8 +14,8 @@
"visualstudioexptteam.vscodeintellicode",
"eamodio.gitlens",
"mutantdino.resourcemonitor",
"budparr.language-hugo-vscode"
"budparr.language-hugo-vscode",
"vscode-icons-team.vscode-icons"
],
"runArgs": [],
"forwardPorts": [1313]
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"visualstudioexptteam.vscodeintellicode",
"eamodio.gitlens",
"mutantdino.resourcemonitor",
"budparr.language-hugo-vscode"
"vscode-icons-team.vscode-icons"
]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
".lintstagedrc": "json",
".all-contributorsrc": "json",
},
"terminal.integrated.fontFamily": "FiraCode NF",
"terminal.integrated.fontFamily": "CaskaydiaCove NF, Cascadia Mono, Consolas, 'Courier New', monospace",
"editor.fontLigatures": true
}
Loading

0 comments on commit a9f3d95

Please sign in to comment.