Skip to content

Commit

Permalink
remove font download and set multiple fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Nov 30, 2024
1 parent 41e8ae4 commit 4343b66
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/docker-in-docker/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"path": "/bin/zsh"
}
},
"terminal.integrated.fontFamily": "FiraCode Nerd Font"
"terminal.integrated.fontFamily": "FiraCode Nerd Font, Menlo, Monaco, Cascadia Code, Consolas, Courier New, monospace"
},
"extensions": [
// go
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/docker-in-docker_slim/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"path": "/bin/zsh"
}
},
"terminal.integrated.fontFamily": "FiraCode Nerd Font"
"terminal.integrated.fontFamily": "FiraCode Nerd Font, Menlo, Monaco, Cascadia Code, Consolas, Courier New, monospace"
},
"extensions": [
"ms-azuretools.vscode-docker",
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/docker-outside-of-docker/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"path": "/bin/zsh"
}
},
"terminal.integrated.fontFamily": "FiraCode Nerd Font"
"terminal.integrated.fontFamily": "FiraCode Nerd Font, Menlo, Monaco, Cascadia Code, Consolas, Courier New, monospace"
},
"extensions": [
// go
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"path": "/bin/zsh"
}
},
"terminal.integrated.fontFamily": "FiraCode Nerd Font"
"terminal.integrated.fontFamily": "FiraCode Nerd Font, Menlo, Monaco, Cascadia Code, Consolas, Courier New, monospace"
},
"extensions": [
"ms-azuretools.vscode-docker",
Expand Down
13 changes: 0 additions & 13 deletions .devcontainer/zsh/install-zsh-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,3 @@ git clone --depth 1 https://github.com/z-shell/F-Sy-H.git ${ZSH_CUSTOM:-$HOME/.o
/usr/bin/containerlab completion zsh > "/home/vscode/.oh-my-zsh/custom/plugins/zsh-autocomplete/Completions/_containerlab"
# add clab alias to the completions
sed -i 's/compdef _containerlab containerlab/compdef _containerlab containerlab clab/g' /home/vscode/.oh-my-zsh/custom/plugins/zsh-autocomplete/Completions/_containerlab

###
### FiraCode Nerd Font
###

mkdir -p ~/fonts && pushd ~/fonts
curl -LO https://gitlab.com/rdodin/pics/-/wikis/uploads/5a7581110f60e3ac87c3fe4f8c2204cf/FiraCodeNerdFont-Bold.ttf
curl -LO https://gitlab.com/rdodin/pics/-/wikis/uploads/8bdbb5f62cd60b567b599bb0c2673473/FiraCodeNerdFont-Light.ttf
curl -LO https://gitlab.com/rdodin/pics/-/wikis/uploads/58c9962f71b86e098a9bd62652b47248/FiraCodeNerdFont-Medium.ttf
curl -LO https://gitlab.com/rdodin/pics/-/wikis/uploads/58c9962f71b86e098a9bd62652b47248/FiraCodeNerdFont-Regular.ttf
curl -LO https://gitlab.com/rdodin/pics/-/wikis/uploads/58c9962f71b86e098a9bd62652b47248/FiraCodeNerdFont-Retina.ttf
curl -LO https://gitlab.com/rdodin/pics/-/wikis/uploads/58c9962f71b86e098a9bd62652b47248/FiraCodeNerdFont-SemiBold.ttf
popd

0 comments on commit 4343b66

Please sign in to comment.