mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-05 08:48:56 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f2f75411f9 | ||
|
|
007d874f46 | ||
|
|
2e424d6fbd | ||
|
|
95d43baf22 | ||
|
|
2da3ccf0b1 |
35
Brewfile
35
Brewfile
@@ -1,5 +1,6 @@
|
|||||||
tap "anchore/grype"
|
tap "anchore/grype"
|
||||||
tap "codeclimate/formulae"
|
tap "codeclimate/formulae"
|
||||||
|
tap "ddosify/tap"
|
||||||
tap "github/gh"
|
tap "github/gh"
|
||||||
tap "homebrew/autoupdate"
|
tap "homebrew/autoupdate"
|
||||||
tap "homebrew/bundle"
|
tap "homebrew/bundle"
|
||||||
@@ -7,12 +8,15 @@ tap "homebrew/cask"
|
|||||||
tap "homebrew/core"
|
tap "homebrew/core"
|
||||||
tap "homebrew/services"
|
tap "homebrew/services"
|
||||||
tap "reviewdog/tap"
|
tap "reviewdog/tap"
|
||||||
|
tap "shivammathur/extensions"
|
||||||
|
tap "shivammathur/php"
|
||||||
tap "wpscanteam/tap"
|
tap "wpscanteam/tap"
|
||||||
brew "act"
|
brew "act"
|
||||||
brew "python@3.10"
|
brew "python@3.10"
|
||||||
brew "ansible", link: false
|
brew "ansible"
|
||||||
brew "aspell"
|
brew "aspell"
|
||||||
brew "autoconf"
|
brew "autoconf"
|
||||||
|
brew "bandwhich"
|
||||||
brew "brew-php-switcher"
|
brew "brew-php-switcher"
|
||||||
brew "glib"
|
brew "glib"
|
||||||
brew "openldap"
|
brew "openldap"
|
||||||
@@ -20,21 +24,22 @@ brew "zstd"
|
|||||||
brew "freetds"
|
brew "freetds"
|
||||||
brew "icu4c"
|
brew "icu4c"
|
||||||
brew "libpq"
|
brew "libpq"
|
||||||
brew "php", link: false
|
brew "php"
|
||||||
brew "composer"
|
brew "composer"
|
||||||
brew "coreutils"
|
brew "coreutils"
|
||||||
brew "dive"
|
brew "dive"
|
||||||
brew "dog"
|
brew "dog"
|
||||||
brew "eg-examples"
|
brew "eg-examples"
|
||||||
brew "p11-kit"
|
|
||||||
brew "unbound"
|
|
||||||
brew "gnutls"
|
|
||||||
brew "faas-cli"
|
brew "faas-cli"
|
||||||
brew "fswatch"
|
brew "fswatch"
|
||||||
brew "gh"
|
brew "gh"
|
||||||
brew "git"
|
brew "git"
|
||||||
brew "git-extras"
|
brew "git-extras"
|
||||||
|
brew "git-standup", link: false
|
||||||
brew "gnu-sed"
|
brew "gnu-sed"
|
||||||
|
brew "p11-kit"
|
||||||
|
brew "unbound"
|
||||||
|
brew "gnutls"
|
||||||
brew "gnupg"
|
brew "gnupg"
|
||||||
brew "goaccess"
|
brew "goaccess"
|
||||||
brew "netpbm"
|
brew "netpbm"
|
||||||
@@ -51,14 +56,14 @@ brew "jq"
|
|||||||
brew "lastpass-cli"
|
brew "lastpass-cli"
|
||||||
brew "lazydocker"
|
brew "lazydocker"
|
||||||
brew "libvoikko"
|
brew "libvoikko"
|
||||||
|
brew "m-cli"
|
||||||
brew "midnight-commander"
|
brew "midnight-commander"
|
||||||
brew "nmap"
|
brew "nmap"
|
||||||
brew "nvm"
|
brew "nvm"
|
||||||
|
brew "openjdk"
|
||||||
brew "openapi-generator"
|
brew "openapi-generator"
|
||||||
brew "openfortivpn"
|
brew "openfortivpn"
|
||||||
brew "php-cs-fixer"
|
brew "php-cs-fixer"
|
||||||
brew "php@7.4"
|
|
||||||
brew "php@8.0"
|
|
||||||
brew "phpmd"
|
brew "phpmd"
|
||||||
brew "phpstan"
|
brew "phpstan"
|
||||||
brew "python@3.8"
|
brew "python@3.8"
|
||||||
@@ -67,7 +72,6 @@ brew "qt"
|
|||||||
brew "rcm"
|
brew "rcm"
|
||||||
brew "ripgrep"
|
brew "ripgrep"
|
||||||
brew "ruby"
|
brew "ruby"
|
||||||
brew "s3cmd"
|
|
||||||
brew "shellcheck"
|
brew "shellcheck"
|
||||||
brew "skopeo"
|
brew "skopeo"
|
||||||
brew "terminal-notifier", link: false
|
brew "terminal-notifier", link: false
|
||||||
@@ -78,13 +82,21 @@ brew "thefuck"
|
|||||||
brew "tldr"
|
brew "tldr"
|
||||||
brew "tmux"
|
brew "tmux"
|
||||||
brew "tree"
|
brew "tree"
|
||||||
|
brew "viddy"
|
||||||
brew "watch"
|
brew "watch"
|
||||||
brew "wget"
|
brew "wget"
|
||||||
brew "z"
|
brew "z"
|
||||||
brew "anchore/grype/grype"
|
brew "anchore/grype/grype"
|
||||||
|
brew "ddosify/tap/ddosify"
|
||||||
brew "reviewdog/tap/reviewdog"
|
brew "reviewdog/tap/reviewdog"
|
||||||
|
brew "shivammathur/extensions/xdebug@7.4"
|
||||||
|
brew "shivammathur/extensions/xdebug@8.0"
|
||||||
|
brew "shivammathur/extensions/xdebug@8.1"
|
||||||
|
brew "shivammathur/php/php"
|
||||||
|
brew "shivammathur/php/php@7.4"
|
||||||
|
brew "shivammathur/php/php@8.0"
|
||||||
brew "wpscanteam/tap/wpscan"
|
brew "wpscanteam/tap/wpscan"
|
||||||
cask "docker"
|
cask "fig"
|
||||||
cask "fog"
|
cask "fog"
|
||||||
cask "google-cloud-sdk"
|
cask "google-cloud-sdk"
|
||||||
cask "insomnia"
|
cask "insomnia"
|
||||||
@@ -92,9 +104,10 @@ cask "ngrok"
|
|||||||
cask "qlimagesize"
|
cask "qlimagesize"
|
||||||
cask "qlmarkdown"
|
cask "qlmarkdown"
|
||||||
cask "qlstephen"
|
cask "qlstephen"
|
||||||
cask "qlvideo"
|
|
||||||
cask "quicklook-json"
|
cask "quicklook-json"
|
||||||
cask "quicklookase"
|
cask "quicklookase"
|
||||||
cask "sequel-ace"
|
cask "sequel-ace"
|
||||||
cask "suspicious-package"
|
cask "suspicious-package"
|
||||||
cask "vagrant"
|
cask "syntax-highlight"
|
||||||
|
cask "vlc"
|
||||||
|
cask "warp"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Fig pre block. Keep at the top of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/bash_profile.pre.bash" ]] && . "$HOME/.fig/shell/bash_profile.pre.bash"
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
export PATH="$HOME/.local/bin:/usr/local/sbin:$PATH"
|
export PATH="$HOME/.local/bin:/usr/local/sbin:$PATH"
|
||||||
|
|
||||||
|
# Fig post block. Keep at the bottom of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/bash_profile.post.bash" ]] && . "$HOME/.fig/shell/bash_profile.post.bash"
|
||||||
|
|||||||
5
bashrc
5
bashrc
@@ -1,3 +1,5 @@
|
|||||||
|
# Fig pre block. Keep at the top of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && . "$HOME/.fig/shell/bashrc.pre.bash"
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
PHP_PATH=$(brew --prefix php)/bin
|
PHP_PATH=$(brew --prefix php)/bin
|
||||||
@@ -7,3 +9,6 @@ export PATH="$PHP_PATH:$HOME/.composer/vendor/bin/:/usr/local/opt/ruby/bin:/usr/
|
|||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
|
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
|
||||||
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
|
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
|
||||||
|
|
||||||
|
# Fig post block. Keep at the bottom of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/bashrc.post.bash" ]] && . "$HOME/.fig/shell/bashrc.post.bash"
|
||||||
|
|||||||
@@ -16,6 +16,13 @@
|
|||||||
reset-origin = !git fetch origin && git reset --hard origin/master && git clean -f -d
|
reset-origin = !git fetch origin && git reset --hard origin/master && git clean -f -d
|
||||||
reset-upstream = !git fetch upstream && git reset --hard upstream/master && git clean -f -d
|
reset-upstream = !git fetch upstream && git reset --hard upstream/master && git clean -f -d
|
||||||
nah = !git reset --hard && git clean -df
|
nah = !git reset --hard && git clean -df
|
||||||
|
undo-commit = reset HEAD~ --soft
|
||||||
|
llog = log --pretty=fuller
|
||||||
|
logs = log --graph --pretty=format:'%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(dim green)(%cr) %C(cyan)<%an>%Creset' --abbrev-commit
|
||||||
|
rl = reflog --format='%C(auto)%h %<|(20)%gd %C(blue)%cr%C(reset) %gs (%s)'
|
||||||
|
tagdate = log --date-order --graph --tags --simplify-by-decoration --pretty=format:\"%ai %h %d\"
|
||||||
|
branchbydate = for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)'
|
||||||
|
branchcolor = "!for ref in $(git for-each-ref --sort=-committerdate --format=\"%(refname)\" refs/heads/ refs/remotes ); do git log -n1 $ref --pretty=format:\"%Cgreen%cr%Creset %C(yellow)%d%Creset %C(bold blue)<%an>%Creset%n\" | cat ; done | awk '! a[$0]++'"
|
||||||
|
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
|
|||||||
7
huskyrc
Normal file
7
huskyrc
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
||||||
|
alias php="php -d error_reporting=22527"
|
||||||
30
zshrc
30
zshrc
@@ -1,9 +1,20 @@
|
|||||||
|
# Fig pre block. Keep at the top of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && . "$HOME/.fig/shell/zshrc.pre.zsh"
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
|
LOCAL_BIN="$HOME/.local/bin"
|
||||||
OPT_FOLDER="/usr/local/opt"
|
OPT_FOLDER="/usr/local/opt"
|
||||||
PHP_74=$(brew --prefix php@7.4)/bin
|
PHP_74=$(brew --prefix php@7.4)/bin
|
||||||
|
PHP_80=$(brew --prefix php@8.0)/bin
|
||||||
PHP_CUR=$(brew --prefix php)/bin
|
PHP_CUR=$(brew --prefix php)/bin
|
||||||
export PATH="$HOME/.local/bin:$PHP_74:$PHP_CUR:$HOME/Library/Python/3.8/bin:$HOME/.composer/vendor/bin:$OPT_FOLDER/python@3.8/bin:$OPT_FOLDER/coreutils/libexec/gnubin:$OPT_FOLDER/ruby/bin:/usr/local/sbin:$PATH"
|
PYTHON_38="$HOME/Library/Python/3.8/bin"
|
||||||
|
COMPOSER_DIR="$HOME/.composer/vendor/bin"
|
||||||
|
BREW_PYTHON=$(brew --prefix python@3.8)/bin
|
||||||
|
GNUBIN_DIR=$(brew --prefix coreutils)/libexec/gnubin
|
||||||
|
BREW_RUBY=$(brew --prefix ruby)/bin
|
||||||
|
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"
|
source "$HOME/.config/antigen.zsh"
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
@@ -15,10 +26,10 @@ antigen use oh-my-zsh
|
|||||||
|
|
||||||
antigen bundle php
|
antigen bundle php
|
||||||
antigen bundle nvm
|
antigen bundle nvm
|
||||||
antigen bundle ruby
|
# antigen bundle ruby
|
||||||
antigen bundle docker
|
antigen bundle docker
|
||||||
antigen bundle ssh-agent
|
antigen bundle ssh-agent
|
||||||
antigen bundle git-auto-fetch
|
# antigen bundle git-auto-fetch
|
||||||
|
|
||||||
antigen bundle colored-man-pages
|
antigen bundle colored-man-pages
|
||||||
antigen bundle jreese/zsh-titles
|
antigen bundle jreese/zsh-titles
|
||||||
@@ -29,7 +40,7 @@ antigen bundle Sparragus/zsh-auto-nvm-use
|
|||||||
antigen bundle reegnz/jq-zsh-plugin
|
antigen bundle reegnz/jq-zsh-plugin
|
||||||
antigen bundle MichaelAquilina/zsh-you-should-use
|
antigen bundle MichaelAquilina/zsh-you-should-use
|
||||||
antigen bundle sroze/docker-compose-zsh-plugin
|
antigen bundle sroze/docker-compose-zsh-plugin
|
||||||
antigen bundle voronkovich/phpcs.plugin.zsh
|
# antigen bundle voronkovich/phpcs.plugin.zsh
|
||||||
antigen bundle unixorn/autoupdate-antigen.zshplugin
|
antigen bundle unixorn/autoupdate-antigen.zshplugin
|
||||||
|
|
||||||
antigen theme oskarkrawczyk/honukai-iterm-zsh honukai
|
antigen theme oskarkrawczyk/honukai-iterm-zsh honukai
|
||||||
@@ -50,6 +61,11 @@ export HIST_STAMPS="yyyy-mm-dd"
|
|||||||
|
|
||||||
source "$HOME/.alias"
|
source "$HOME/.alias"
|
||||||
|
|
||||||
source "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc"
|
GCLOUD_INSTALL_LOCATION=$(gcloud info --format="value(installation.sdk_root)" --quiet)
|
||||||
source "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc"
|
|
||||||
source "/usr/local/etc/profile.d/z.sh"
|
source "$GCLOUD_INSTALL_LOCATION/path.zsh.inc"
|
||||||
|
source "$GCLOUD_INSTALL_LOCATION/completion.zsh.inc"
|
||||||
|
source "$(brew --prefix z)/etc/profile.d/z.sh"
|
||||||
|
|
||||||
|
# Fig post block. Keep at the bottom of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && . "$HOME/.fig/shell/zshrc.post.zsh"
|
||||||
|
|||||||
Reference in New Issue
Block a user