Compare commits

..

3 Commits

Author SHA1 Message Date
Ismo Vuorinen
28ecb02549 Added command for updating Brewfile 2022-11-21 16:37:07 +02:00
Ismo Vuorinen
e18785eaa7 Add README.md 2022-11-21 16:33:37 +02:00
Ismo Vuorinen
ef6d004f71 gitconfig, zshrc, install.sh, git_profiles 2022-11-16 15:34:44 +02:00
6 changed files with 41 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
tap "anchore/grype"
tap "ddosify/tap"
tap "dm3ch/tap"
tap "gesquive/tap"
tap "github/gh"
tap "homebrew/autoupdate"
@@ -12,15 +13,16 @@ tap "shivammathur/php"
brew "act"
brew "python@3.10"
brew "ansible"
brew "zstd"
brew "aspell"
brew "autoconf"
brew "awscli"
brew "bandwhich"
brew "brew-php-switcher"
brew "glib"
brew "pkg-config"
brew "coreutils"
brew "openldap"
brew "zstd"
brew "dive"
brew "dog"
brew "eg-examples"
@@ -68,6 +70,8 @@ brew "shellcheck"
brew "shfmt"
brew "skopeo"
brew "terminal-notifier", link: false
brew "terraform"
brew "terragrunt"
brew "testssl"
brew "thefuck"
brew "tldr"
@@ -86,14 +90,13 @@ brew "shivammathur/extensions/xdebug@8.1"
brew "shivammathur/php/php"
brew "shivammathur/php/php@7.4"
brew "shivammathur/php/php@8.0"
cask "docker"
cask "fig"
cask "fog"
cask "fontplop"
cask "fork"
cask "google-cloud-sdk"
cask "insomnia"
cask "iterm2"
cask "keybase"
cask "lens"
cask "ngrok"
cask "qlimagesize"
@@ -104,5 +107,6 @@ cask "quicklookase"
cask "sequel-ace"
cask "suspicious-package"
cask "syntax-highlight"
cask "visual-studio-code"
cask "vlc"
cask "warp"

17
README.md Normal file
View File

@@ -0,0 +1,17 @@
# DotFiles
## Setup
## Other stuff
Update `Brewfile``
```bash
brew bundle dump --force --file=~/.dotfiles/Brewfile
```
Enable automatic brew updates and upgrades.
```bash
brew autoupdate start 43200 --upgrade --cleanup --immediate
```

8
git_profiles Normal file
View File

@@ -0,0 +1,8 @@
[work]
name = Ismo Vuorinen
email = ismo.vuorinen@vincit.fi
[home]
name = Ismo Vuorinen
email = ismo@vuorinen.net

View File

@@ -1,15 +1,8 @@
[user]
name = Ismo Vuorinen
email = ismo.vuorinen@geniem.com
signingkey = 027A74A88B2CC570
email = ismo.vuorinen@vincit.fi
[core]
excludesfile = ~/.gitignore_global
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[commit]
template = ~/.stCommitMsg
[alias]
@@ -36,6 +29,9 @@
[color]
ui = true
diff = auto
branch = auto
status = auto
[color "status"]
added = green bold

View File

@@ -73,5 +73,6 @@ handle_file_ln "/Users/ivuorinen/.dotfiles/gitconfig" "/Users/ivuorinen/.gitconf
handle_file_ln "/Users/ivuorinen/.dotfiles/gitignore_global" "/Users/ivuorinen/.gitignore_global"
handle_file_ln "/Users/ivuorinen/.dotfiles/huskyrc" "/Users/ivuorinen/.huskyrc"
handle_file_ln "/Users/ivuorinen/.dotfiles/install.sh" "/Users/ivuorinen/.install.sh"
handle_file_ln "/Users/ivuorinen/.dotfiles/local/bin/x-open-ports" "/Users/ivuorinen/.local/bin/x-open-ports"
handle_file_ln "/Users/ivuorinen/.dotfiles/vuerc" "/Users/ivuorinen/.vuerc"
handle_file_ln "/Users/ivuorinen/.dotfiles/zshrc" "/Users/ivuorinen/.zshrc"

4
zshrc
View File

@@ -19,6 +19,10 @@ USR_SBIN=/usr/local/sbin
export PATH="$LOCAL_BIN:$PYTHON_38:$COMPOSER_DIR:$BREW_PYTHON:$GNUBIN_DIR:$BREW_RUBY:$USR_SBIN:$PATH"
source "$HOME/.config/antigen.zsh"
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
export NVM_DIR="$HOME/.nvm"
export NVM_LAZY_LOAD=true
export NVM_COMPLETION=true