This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
ENV=.env | |
ENV_SAMPLE=.env.sample | |
PROJECT_ROOT=$(git rev-parse --show-toplevel) | |
ENV_FILES=($(find ${PROJECT_ROOT} -name "${ENV}" | sort)) | |
ENV_SAMPLE_FILES=($(find ${PROJECT_ROOT} -name "${ENV_SAMPLE}" | sort)) | |
RED='\033[0;31m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.vim/plugged') | |
Plug 'tpope/vim-fugitive' "use git things in vim | |
Plug 'tpope/vim-sensible' "required | |
Plug 'preservim/nerdtree' "filetree | |
Plug 'dense-analysis/ale' "syntax check | |
Plug 'preservim/nerdcommenter' "comment | |
Plug 'nathanaelkane/vim-indent-guides' "highlight indent lines | |
Plug 'vim-airline/vim-airline' "fancy status bar | |
Plug 'vim-airline/vim-airline-themes' "add airline theme | |
Plug 'airblade/vim-gitgutter' "see code changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"settingsVersion": "1.67", | |
"exclusionRules": [], | |
"filterLinkHints": false, | |
"waitForEnterForFilteredHints": true, | |
"hideHud": false, | |
"keyMappings": "# Insert your preferred key mappings here.\nunmap x\nmap R reload hard", | |
"linkHintCharacters": "sadfjklewcmpgh", | |
"linkHintNumbers": "0123456789", | |
"newTabUrl": "about:newtab", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FLAG="$HOME/goinfre/Applications/VSCode-darwin-universal.zip" | |
if [ ! -e "$FLAG" ]; then | |
mkdir -p $HOME/goinfre/Applications | |
curl -L -o $FLAG https://code.visualstudio.com/sha/download\?build\=stable\&os\=darwin-universal | |
open $FLAG | |
else | |
echo "already downloaded" |