Skip to content

Commit

Permalink
Merge branch 'main' of github.com:blyndusk/flamin-go into main
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-delaloy committed Jul 11, 2022
2 parents c71a1fb + b4b685a commit 84b2577
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/files/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ alias c="clear"
alias cdc="cd ; clear"
alias del="rm -rf"
alias e="exit"
alias m="make"
alias rf='source $HOME/.zshrc'
alias sn="snap"
alias t="touch"
Expand Down
32 changes: 32 additions & 0 deletions config/files/vscode-settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"[nginx]": {
"editor.defaultFormatter": "raynigon.nginx-formatter"
},
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": true,
"editor.cursorStyle": "block",
"editor.fontFamily": "'FiraCode NF', 'monospace', monospace",
"editor.fontLigatures": true,
"editor.formatOnSave": true,
"editor.inlineSuggest.enabled": true,
"editor.tabSize": 2,
"editor.wordWrap": "on",
"explorer.confirmDelete": false,
"files.autoSave": "afterDelay",
"explorer.confirmDragAndDrop": false,
"material-icon-theme.activeIconPack": "",
"material-icon-theme.folders.color": "#90a4ae",
"material-icon-theme.folders.theme": "specific",
"material-icon-theme.opacity": 1,
"material-icon-theme.saturation": null,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.fontFamily": "monospace",
"window.newWindowDimensions": "maximized",
"workbench.activityBar.iconClickBehavior": "focus",
"workbench.editor.decorations.badges": true,
"workbench.editor.decorations.colors": true,
"workbench.editor.wrapTabs": true,
"workbench.iconTheme": "material-icon-theme",
"workbench.preferredDarkColorTheme": "Material Theme Ocean High Contrast",
"workbench.colorTheme": "Dracula Soft"
}
10 changes: 10 additions & 0 deletions config/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,13 @@ function _snap_secure_install_from_array_ () {
ui_cmd "${exec[@]}" ; "${exec[@]}"
done
}

function _vscode_secure_install_from_array_ () {
ARRAY=$@
for i in $ARRAY; do
if ! command -v "$i" &> /dev/null; then
exec=(code --install-extension "$i")
fi
ui_cmd "${exec[@]}" ; "${exec[@]}"
done
}

0 comments on commit 84b2577

Please sign in to comment.