mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-02 23:43:45 +00:00
Compare commits
42 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3faf8224e8 | |||
| d028f37c00 | |||
| 1df05ac0ba | |||
| e54e202281 | |||
| c226943aa9 | |||
| dda4b65458 | |||
| 7d564d0b4d | |||
| bc30e5f7a6 | |||
| 9e2f7e8f1b | |||
| 7b47e49804 | |||
| 1be7649122 | |||
| 453d54bc7f | |||
| 7ede7b9ac1 | |||
| a90743a09c | |||
| 185d28e587 | |||
|
|
37f023351d | ||
| 39523e9234 | |||
|
|
1f8fc0d289 | ||
| c083d2a20a | |||
| 75c6a0bccd | |||
| 5ce86b3229 | |||
| 885189e4ff | |||
| 8f3f4d7ed9 | |||
| 03a1b5fb85 | |||
| 7b83f6e943 | |||
| 261ff41e28 | |||
| 36ad2a2ad9 | |||
|
|
a4d5b87272 | ||
| f953bff183 | |||
| aba33a20a4 | |||
| a20e1e1419 | |||
| 8328f4cd19 | |||
| 4383b130a9 | |||
| 8143999f2a | |||
| 523bec769f | |||
| dee215a29e | |||
| 755ac0fa2c | |||
| a69f1f9f9c | |||
| 934ecb2335 | |||
| 4b6b887ca8 | |||
| fb0b9044eb | |||
| 74ca882192 |
8
.gitmodules
vendored
8
.gitmodules
vendored
@@ -41,7 +41,7 @@
|
|||||||
ignore = dirty
|
ignore = dirty
|
||||||
[submodule "tmux/tmux-window-name"]
|
[submodule "tmux/tmux-window-name"]
|
||||||
path = config/tmux/plugins/tmux-window-name
|
path = config/tmux/plugins/tmux-window-name
|
||||||
url = https://github.com/ofirgall/tmux-window-name.git
|
url = https://github.com/ivuorinen/tmux-window-name.git
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
[submodule "dotbot-pip"]
|
[submodule "dotbot-pip"]
|
||||||
path = tools/dotbot-pip
|
path = tools/dotbot-pip
|
||||||
@@ -55,3 +55,9 @@
|
|||||||
[submodule "tmux/tmux-current-pane-hostname"]
|
[submodule "tmux/tmux-current-pane-hostname"]
|
||||||
path = config/tmux/plugins/tmux-current-pane-hostname
|
path = config/tmux/plugins/tmux-current-pane-hostname
|
||||||
url = https://github.com/soyuka/tmux-current-pane-hostname.git
|
url = https://github.com/soyuka/tmux-current-pane-hostname.git
|
||||||
|
[submodule "cheat-tldr"]
|
||||||
|
path = config/cheat/cheatsheets/tldr
|
||||||
|
url = https://github.com/ivuorinen/cheatsheet-tldr.git
|
||||||
|
[submodule "nvim-kickstart"]
|
||||||
|
path = config/nvim-kickstart
|
||||||
|
url = https://github.com/ivuorinen/kickstart.nvim
|
||||||
|
|||||||
@@ -10,9 +10,14 @@ git submodule add --name dotbot-include \
|
|||||||
git submodule add --name dotbot-pip \
|
git submodule add --name dotbot-pip \
|
||||||
-f https://github.com/sobolevn/dotbot-pip.git tools/dotbot-pip
|
-f https://github.com/sobolevn/dotbot-pip.git tools/dotbot-pip
|
||||||
|
|
||||||
|
git submodule add --name nvim-kickstart \
|
||||||
|
-f https://github.com/ivuorinen/kickstart.nvim config/nvim-kickstart
|
||||||
|
|
||||||
# other repos
|
# other repos
|
||||||
git submodule add --name cheat-community \
|
git submodule add --name cheat-community \
|
||||||
-f https://github.com/cheat/cheatsheets.git config/cheat/cheatsheets/community
|
-f https://github.com/cheat/cheatsheets.git config/cheat/cheatsheets/community
|
||||||
|
git submodule add --name cheat-tldr \
|
||||||
|
-f https://github.com/ivuorinen/cheatsheet-tldr.git config/cheat/cheatsheets/tldr
|
||||||
|
|
||||||
# tmux plugin manager and plugins
|
# tmux plugin manager and plugins
|
||||||
git submodule add --name tmux/tmux-continuum \
|
git submodule add --name tmux/tmux-continuum \
|
||||||
@@ -28,7 +33,7 @@ git submodule add --name tmux/tmux-sessionist \
|
|||||||
git submodule add --name tmux/tmux-suspend \
|
git submodule add --name tmux/tmux-suspend \
|
||||||
-f https://github.com/MunifTanjim/tmux-suspend.git config/tmux/plugins/tmux-suspend
|
-f https://github.com/MunifTanjim/tmux-suspend.git config/tmux/plugins/tmux-suspend
|
||||||
git submodule add --name tmux/tmux-window-name \
|
git submodule add --name tmux/tmux-window-name \
|
||||||
-f https://github.com/ofirgall/tmux-window-name.git config/tmux/plugins/tmux-window-name
|
-f https://github.com/ivuorinen/tmux-window-name.git config/tmux/plugins/tmux-window-name
|
||||||
git submodule add --name tmux/tmux-yank \
|
git submodule add --name tmux/tmux-yank \
|
||||||
-f https://github.com/tmux-plugins/tmux-yank.git config/tmux/plugins/tmux-yank
|
-f https://github.com/tmux-plugins/tmux-yank.git config/tmux/plugins/tmux-yank
|
||||||
git submodule add --name tmux/tmux-current-pane-hostname \
|
git submodule add --name tmux/tmux-current-pane-hostname \
|
||||||
|
|||||||
@@ -34,5 +34,8 @@ x-have rbenv && {
|
|||||||
eval "$(rbenv init - bash)"
|
eval "$(rbenv init - bash)"
|
||||||
}
|
}
|
||||||
|
|
||||||
eval "$(starship init bash)"
|
# eval "$(starship init bash)"
|
||||||
|
x-have oh-my-posh && {
|
||||||
|
eval "$(oh-my-posh init bash --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
|
||||||
|
}
|
||||||
source "$DOTFILES/config/alias"
|
source "$DOTFILES/config/alias"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/env bash
|
#!/bin/env bash
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
[ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.config/nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads 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
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
||||||
|
|||||||
24
base/zshrc
24
base/zshrc
@@ -61,17 +61,11 @@ antigen bundle jreese/zsh-titles
|
|||||||
antigen bundle zsh-users/zsh-completions
|
antigen bundle zsh-users/zsh-completions
|
||||||
|
|
||||||
# these should be available if there's need
|
# these should be available if there's need
|
||||||
# x-have brew && antigen bundle brew
|
|
||||||
# x-have php && antigen bundle php
|
|
||||||
x-have python && antigen bundle MichaelAquilina/zsh-autoswitch-virtualenv
|
x-have python && antigen bundle MichaelAquilina/zsh-autoswitch-virtualenv
|
||||||
|
|
||||||
# nvm is a strange beast
|
# nvm is a strange beast
|
||||||
zstyle ':omz:plugins:nvm' autoload yes
|
zstyle ':omz:plugins:nvm' autoload yes
|
||||||
antigen bundle nvm
|
antigen bundle nvm
|
||||||
# antigen bundle "$DOTFILES/config/zsh/plugins/nvm-auto-use"
|
|
||||||
|
|
||||||
# nice to have stuff
|
|
||||||
# antigen bundle gcloud
|
|
||||||
|
|
||||||
# this needs to be the last item
|
# this needs to be the last item
|
||||||
antigen bundle zsh-users/zsh-syntax-highlighting
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||||
@@ -85,6 +79,12 @@ x-have rbenv && {
|
|||||||
eval "$(rbenv init - zsh)"
|
eval "$(rbenv init - zsh)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
x-have pyenv && {
|
||||||
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init -)"
|
||||||
|
eval "$(pyenv virtualenv-init -)"
|
||||||
|
}
|
||||||
|
|
||||||
# Run only if tmux is active
|
# Run only if tmux is active
|
||||||
[[ -n "$TMUX" ]] && {
|
[[ -n "$TMUX" ]] && {
|
||||||
# Autoupdate tmux window name
|
# Autoupdate tmux window name
|
||||||
@@ -100,5 +100,15 @@ x-have rbenv && {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# eval "$(starship init zsh)"
|
# eval "$(starship init zsh)"
|
||||||
eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
|
x-have oh-my-posh && {
|
||||||
|
eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
|
||||||
|
}
|
||||||
source "$DOTFILES/config/alias"
|
source "$DOTFILES/config/alias"
|
||||||
|
|
||||||
|
# Herd checks for a few environment variables to inject PHP binaries and configurations.
|
||||||
|
# Herd injected PHP binary.
|
||||||
|
# export PATH="/Users/ivuorinen/Library/Application Support/Herd/bin/":$PATH
|
||||||
|
# Herd injected PHP 8.3 configuration.
|
||||||
|
# export HERD_PHP_83_INI_SCAN_DIR="/Users/ivuorinen/Library/Application Support/Herd/config/php/83/"
|
||||||
|
# Herd injected PHP 7.4 configuration.
|
||||||
|
# export HERD_PHP_74_INI_SCAN_DIR="/Users/ivuorinen/Library/Application Support/Herd/config/php/74/"
|
||||||
|
|||||||
@@ -324,21 +324,26 @@ chars = "\u0002/"
|
|||||||
key = "F"
|
key = "F"
|
||||||
mods = "Command"
|
mods = "Command"
|
||||||
|
|
||||||
|
[mouse]
|
||||||
|
hide_when_typing = true
|
||||||
|
|
||||||
[[mouse.bindings]]
|
[[mouse.bindings]]
|
||||||
action = "PasteSelection"
|
action = "PasteSelection"
|
||||||
mouse = "Middle"
|
mouse = "Middle"
|
||||||
|
|
||||||
[selection]
|
[selection]
|
||||||
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
||||||
|
save_to_clipboard = true
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
decorations = "none"
|
decorations = "Full"
|
||||||
dynamic_title = true
|
dynamic_title = true
|
||||||
opacity = 0.98
|
opacity = 0.98
|
||||||
|
blur = true
|
||||||
|
|
||||||
[window.dimensions]
|
[window.dimensions]
|
||||||
columns = 200
|
columns = 200
|
||||||
lines = 100
|
lines = 75
|
||||||
|
|
||||||
[window.padding]
|
[window.padding]
|
||||||
x = 5
|
x = 5
|
||||||
|
|||||||
@@ -51,6 +51,10 @@ alias tmux='tmux new-session -A -s main'
|
|||||||
# tmux: attach or create new session
|
# tmux: attach or create new session
|
||||||
alias ta='tmux attach || tmux'
|
alias ta='tmux attach || tmux'
|
||||||
|
|
||||||
|
# nvim
|
||||||
|
alias nvim-ks='NVIM_APPNAME="nvim-kickstart" nvim'
|
||||||
|
alias ks='NVIM_APPNAME="nvim-kickstart" nvim'
|
||||||
|
|
||||||
# watch with: differences, precise, beep and color
|
# watch with: differences, precise, beep and color
|
||||||
alias watchx='watch -dpbc'
|
alias watchx='watch -dpbc'
|
||||||
# delete .DS_Store files
|
# delete .DS_Store files
|
||||||
@@ -75,6 +79,8 @@ alias code_scanner='docker run
|
|||||||
registry.gitlab.com/gitlab-org/ci-cd/codequality:"${CODEQUALITY_VERSION:-latest}"
|
registry.gitlab.com/gitlab-org/ci-cd/codequality:"${CODEQUALITY_VERSION:-latest}"
|
||||||
/code'
|
/code'
|
||||||
|
|
||||||
|
alias trivy_scan='docker run -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy'
|
||||||
|
|
||||||
alias zedit='$EDITOR ~/.dotfiles'
|
alias zedit='$EDITOR ~/.dotfiles'
|
||||||
|
|
||||||
alias irssi="irssi --config=$XDG_CONFIG_HOME/irssi/config --home=$XDG_CONFIG_HOME/irssi"
|
alias irssi="irssi --config=$XDG_CONFIG_HOME/irssi/config --home=$XDG_CONFIG_HOME/irssi"
|
||||||
@@ -97,7 +103,8 @@ if [[ $(uname) == 'Darwin' ]]; then
|
|||||||
# Also, clear Apple's System Logs to improve shell startup speed
|
# Also, clear Apple's System Logs to improve shell startup speed
|
||||||
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
|
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
|
||||||
|
|
||||||
x-set-php-aliases
|
# Using herd for php now, so this is not needed anymore
|
||||||
|
# x-set-php-aliases
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Alacritty preexec hook to update dynamic title
|
# Alacritty preexec hook to update dynamic title
|
||||||
|
|||||||
1
config/cheat/cheatsheets/tldr
Submodule
1
config/cheat/cheatsheets/tldr
Submodule
Submodule config/cheat/cheatsheets/tldr added at a60bdfc18c
@@ -72,7 +72,7 @@ cheatpaths:
|
|||||||
tags: [pure-bash-bible]
|
tags: [pure-bash-bible]
|
||||||
readonly: true
|
readonly: true
|
||||||
- name: tldr
|
- name: tldr
|
||||||
path: ~/.dotfiles/config/cheat/cheatsheets/tldr
|
path: ~/.dotfiles/config/cheat/cheatsheets/tldr/tldr
|
||||||
tags: [tldr]
|
tags: [tldr]
|
||||||
readonly: true
|
readonly: true
|
||||||
# While it requires no configuration here, it's also worth noting that
|
# While it requires no configuration here, it's also worth noting that
|
||||||
|
|||||||
@@ -52,5 +52,9 @@ have_brew()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [[ -f "$DOTFILES/config/exports-secret" ]]; then
|
||||||
|
source "$DOTFILES/config/exports-secret"
|
||||||
|
fi
|
||||||
|
|
||||||
source "$DOTFILES/config/exports-shell"
|
source "$DOTFILES/config/exports-shell"
|
||||||
source "$DOTFILES/config/exports-apps"
|
source "$DOTFILES/config/exports-apps"
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ export BKT_TTL=1m
|
|||||||
|
|
||||||
# brew, https://docs.brew.sh/Manpage
|
# brew, https://docs.brew.sh/Manpage
|
||||||
export HOMEBREW_NO_ENV_HINTS=true
|
export HOMEBREW_NO_ENV_HINTS=true
|
||||||
|
export HOMEBREW_BUNDLE_MAS_SKIP=true
|
||||||
|
export HOMEBREW_BUNDLE_FILE="$XDG_CONFIG_HOME/homebrew/Brewfile"
|
||||||
|
|
||||||
# composer, https://getcomposer.org/
|
# composer, https://getcomposer.org/
|
||||||
export COMPOSER_HOME="$XDG_STATE_HOME/composer"
|
export COMPOSER_HOME="$XDG_STATE_HOME/composer"
|
||||||
@@ -52,6 +54,17 @@ export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
|||||||
export GOPATH="$XDG_DATA_HOME/go"
|
export GOPATH="$XDG_DATA_HOME/go"
|
||||||
export GOBIN="$XDG_BIN_HOME"
|
export GOBIN="$XDG_BIN_HOME"
|
||||||
|
|
||||||
|
# Herd, herd.laravel.com
|
||||||
|
# Herd injected PHP binary.
|
||||||
|
export PATH="$HOME/Library/Application Support/Herd/bin/":$PATH
|
||||||
|
|
||||||
|
x-have herd && {
|
||||||
|
# Herd injected PHP 8.3 configuration.
|
||||||
|
export HERD_PHP_83_INI_SCAN_DIR="$HOME/Library/Application Support/Herd/config/php/83/"
|
||||||
|
# Herd injected PHP 7.4 configuration.
|
||||||
|
export HERD_PHP_74_INI_SCAN_DIR="$HOME/Library/Application Support/Herd/config/php/74/"
|
||||||
|
}
|
||||||
|
|
||||||
# nb, https://xwmx.github.io/nb/
|
# nb, https://xwmx.github.io/nb/
|
||||||
export NBRC_PATH="$XDG_CONFIG_HOME/nbrc"
|
export NBRC_PATH="$XDG_CONFIG_HOME/nbrc"
|
||||||
export NB_DIR="$XDG_STATE_HOME/nb"
|
export NB_DIR="$XDG_STATE_HOME/nb"
|
||||||
@@ -70,8 +83,8 @@ export OP_CACHE="$XDG_STATE_HOME/1password"
|
|||||||
# pyenv, python environments
|
# pyenv, python environments
|
||||||
export WORKON_HOME="$XDG_DATA_HOME/virtualenvs"
|
export WORKON_HOME="$XDG_DATA_HOME/virtualenvs"
|
||||||
export PYENV_ROOT="$XDG_STATE_HOME/pyenv"
|
export PYENV_ROOT="$XDG_STATE_HOME/pyenv"
|
||||||
|
export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH"
|
||||||
x-have pyenv && {
|
x-have pyenv && {
|
||||||
export PATH="$PYENV_ROOT/shims:$PATH"
|
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,14 +15,6 @@ tap "shivammathur/extensions"
|
|||||||
tap "shivammathur/php"
|
tap "shivammathur/php"
|
||||||
tap "teamookla/speedtest"
|
tap "teamookla/speedtest"
|
||||||
tap "xwmx/taps"
|
tap "xwmx/taps"
|
||||||
# Run your GitHub Actions locally
|
|
||||||
brew "act"
|
|
||||||
# Mozilla CA certificate store
|
|
||||||
brew "ca-certificates"
|
|
||||||
# YAML Parser
|
|
||||||
brew "libyaml"
|
|
||||||
# Checks ansible playbooks for practices and behaviour
|
|
||||||
brew "ansible-lint"
|
|
||||||
# Generic-purpose lossless compression algorithm by Google
|
# Generic-purpose lossless compression algorithm by Google
|
||||||
brew "brotli"
|
brew "brotli"
|
||||||
# Library and utilities for processing GIFs
|
# Library and utilities for processing GIFs
|
||||||
@@ -41,36 +33,22 @@ brew "jpeg-xl"
|
|||||||
brew "aom"
|
brew "aom"
|
||||||
# Apache Portable Runtime library
|
# Apache Portable Runtime library
|
||||||
brew "apr"
|
brew "apr"
|
||||||
|
# Mozilla CA certificate store
|
||||||
|
brew "ca-certificates"
|
||||||
# Companion library to apr, the Apache Portable Runtime library
|
# Companion library to apr, the Apache Portable Runtime library
|
||||||
brew "apr-util"
|
brew "apr-util"
|
||||||
# Password hashing library and CLI utility
|
# Password hashing library and CLI utility
|
||||||
brew "argon2"
|
brew "argon2"
|
||||||
# Open Source Kubernetes Marketplace
|
|
||||||
brew "arkade"
|
|
||||||
# Automatic configure script builder
|
|
||||||
brew "autoconf"
|
|
||||||
# GNU multiple precision arithmetic library
|
|
||||||
brew "gmp"
|
|
||||||
# GNU File, Shell, and Text utilities
|
|
||||||
brew "coreutils"
|
|
||||||
# Extendable version manager with support for Ruby, Node.js, Erlang & more
|
|
||||||
brew "asdf"
|
|
||||||
# Spell checker with better logic than ispell
|
# Spell checker with better logic than ispell
|
||||||
brew "aspell"
|
brew "aspell"
|
||||||
# Interpreted, interactive, object-oriented programming language
|
# Automatic configure script builder
|
||||||
brew "python@3.11"
|
brew "autoconf"
|
||||||
# Official Amazon AWS command-line interface
|
|
||||||
brew "awscli"
|
|
||||||
# Bourne-Again SHell, a UNIX command interpreter
|
# Bourne-Again SHell, a UNIX command interpreter
|
||||||
brew "bash"
|
brew "bash"
|
||||||
# Clone of cat(1) with syntax highlighting and Git integration
|
# Clone of cat(1) with syntax highlighting and Git integration
|
||||||
brew "bat"
|
brew "bat"
|
||||||
# C/C++ and Java libraries for Unicode and globalization
|
|
||||||
brew "icu4c"
|
|
||||||
# Yet another cross-platform graphical process/system monitor
|
# Yet another cross-platform graphical process/system monitor
|
||||||
brew "bottom"
|
brew "bottom"
|
||||||
# Switch Apache / Valet / CLI configs between PHP versions
|
|
||||||
brew "brew-php-switcher"
|
|
||||||
# Software library to render fonts
|
# Software library to render fonts
|
||||||
brew "freetype"
|
brew "freetype"
|
||||||
# XML-based font configuration API for X Windows
|
# XML-based font configuration API for X Windows
|
||||||
@@ -79,40 +57,26 @@ brew "fontconfig"
|
|||||||
brew "gettext"
|
brew "gettext"
|
||||||
# Core application library for C
|
# Core application library for C
|
||||||
brew "glib"
|
brew "glib"
|
||||||
# Manage compile and link flags for libraries
|
# Mozilla CA bundle for Python
|
||||||
brew "pkg-config"
|
brew "certifi"
|
||||||
# Human-friendly and fast alternative to cut and (sometimes) awk
|
# Human-friendly and fast alternative to cut and (sometimes) awk
|
||||||
brew "choose-rust"
|
brew "choose-rust"
|
||||||
# Cross-platform make
|
# Cross-platform make
|
||||||
brew "cmake"
|
brew "cmake"
|
||||||
# Get, unpack, build, and install modules from CPAN
|
# GNU multiple precision arithmetic library
|
||||||
brew "cpanminus"
|
brew "gmp"
|
||||||
|
# GNU File, Shell, and Text utilities
|
||||||
|
brew "coreutils"
|
||||||
# Open source suite of directory software
|
# Open source suite of directory software
|
||||||
brew "openldap"
|
brew "openldap"
|
||||||
# Get a file from an HTTP, HTTPS or FTP server
|
# Get a file from an HTTP, HTTPS or FTP server
|
||||||
brew "curl"
|
brew "curl"
|
||||||
# Diff that understands syntax
|
|
||||||
brew "difftastic"
|
|
||||||
# Tool for exploring each layer in a docker image
|
|
||||||
brew "dive"
|
|
||||||
# Lightweight DNS forwarder and DHCP server
|
# Lightweight DNS forwarder and DHCP server
|
||||||
brew "dnsmasq"
|
brew "dnsmasq"
|
||||||
# Command-line DNS client
|
|
||||||
brew "dog"
|
|
||||||
# Lightning-fast linter for .env files written in Rust
|
# Lightning-fast linter for .env files written in Rust
|
||||||
brew "dotenv-linter"
|
brew "dotenv-linter"
|
||||||
# Tool to verify that your files are in harmony with your .editorconfig
|
|
||||||
brew "editorconfig-checker", link: false
|
|
||||||
# Useful examples at the command-line
|
|
||||||
brew "eg-examples"
|
|
||||||
# OpenType text shaping engine
|
|
||||||
brew "harfbuzz"
|
|
||||||
# Development kit for the Java programming language
|
|
||||||
brew "openjdk"
|
|
||||||
# Spellchecker wrapping library
|
# Spellchecker wrapping library
|
||||||
brew "enchant"
|
brew "enchant"
|
||||||
# Run arbitrary commands when files change
|
|
||||||
brew "entr"
|
|
||||||
# Perl lib for reading and writing EXIF metadata
|
# Perl lib for reading and writing EXIF metadata
|
||||||
brew "exiftool"
|
brew "exiftool"
|
||||||
# Simple, fast and user-friendly alternative to find
|
# Simple, fast and user-friendly alternative to find
|
||||||
@@ -128,7 +92,7 @@ brew "fzf"
|
|||||||
# Graphics library to dynamically manipulate images
|
# Graphics library to dynamically manipulate images
|
||||||
brew "gd"
|
brew "gd"
|
||||||
# Disk usage analyzer with console interface written in Go
|
# Disk usage analyzer with console interface written in Go
|
||||||
brew "gdu", link: false
|
brew "gdu"
|
||||||
# GitHub command-line tool
|
# GitHub command-line tool
|
||||||
brew "gh"
|
brew "gh"
|
||||||
# Distributed revision control system
|
# Distributed revision control system
|
||||||
@@ -139,8 +103,6 @@ brew "git-crypt"
|
|||||||
brew "git-extras"
|
brew "git-extras"
|
||||||
# See your latest local git branches, formatted real fancy
|
# See your latest local git branches, formatted real fancy
|
||||||
brew "git-recent"
|
brew "git-recent"
|
||||||
# Open-source GitLab command-line tool
|
|
||||||
brew "glab"
|
|
||||||
# Render markdown on the CLI
|
# Render markdown on the CLI
|
||||||
brew "glow"
|
brew "glow"
|
||||||
# GNU implementation of the famous stream editor
|
# GNU implementation of the famous stream editor
|
||||||
@@ -159,6 +121,10 @@ brew "gpgme"
|
|||||||
brew "gpg-tui"
|
brew "gpg-tui"
|
||||||
# Image manipulation
|
# Image manipulation
|
||||||
brew "netpbm"
|
brew "netpbm"
|
||||||
|
# C/C++ and Java libraries for Unicode and globalization
|
||||||
|
brew "icu4c"
|
||||||
|
# OpenType text shaping engine
|
||||||
|
brew "harfbuzz"
|
||||||
# Framework for layout and rendering of i18n text
|
# Framework for layout and rendering of i18n text
|
||||||
brew "pango"
|
brew "pango"
|
||||||
# Library to render SVG files using Cairo
|
# Library to render SVG files using Cairo
|
||||||
@@ -173,10 +139,6 @@ brew "gzip"
|
|||||||
brew "hadolint"
|
brew "hadolint"
|
||||||
# Improved top (interactive process viewer)
|
# Improved top (interactive process viewer)
|
||||||
brew "htop"
|
brew "htop"
|
||||||
# Website copier/offline browser
|
|
||||||
brew "httrack"
|
|
||||||
# Configurable static site generator
|
|
||||||
brew "hugo"
|
|
||||||
# ISO/IEC 23008-12:2017 HEIF file format decoder and encoder
|
# ISO/IEC 23008-12:2017 HEIF file format decoder and encoder
|
||||||
brew "libheif"
|
brew "libheif"
|
||||||
# Tools and libraries to manipulate images in many formats
|
# Tools and libraries to manipulate images in many formats
|
||||||
@@ -187,80 +149,56 @@ brew "irssi"
|
|||||||
brew "jq"
|
brew "jq"
|
||||||
# Network authentication protocol
|
# Network authentication protocol
|
||||||
brew "krb5"
|
brew "krb5"
|
||||||
# Lazier way to manage everything docker
|
# Tool to detect/remediate misconfig and security risks of GitHub/GitLab assets
|
||||||
brew "lazydocker"
|
brew "legitify"
|
||||||
|
# Secure hashing function
|
||||||
|
brew "libb2"
|
||||||
# Postgres C API library
|
# Postgres C API library
|
||||||
brew "libpq"
|
brew "libpq"
|
||||||
# Linguistic software and Finnish dictionary
|
# YAML Parser
|
||||||
brew "libvoikko"
|
brew "libyaml"
|
||||||
# Rainbows and unicorns in your console!
|
|
||||||
brew "lolcat"
|
|
||||||
# Package manager for the Lua programming language
|
# Package manager for the Lua programming language
|
||||||
brew "luarocks"
|
brew "luarocks"
|
||||||
# LZMA-based compression program similar to gzip or bzip2
|
# LZMA-based compression program similar to gzip or bzip2
|
||||||
brew "lzip"
|
brew "lzip"
|
||||||
# Swiss Army Knife for macOS
|
# Swiss Army Knife for macOS
|
||||||
brew "m-cli"
|
brew "m-cli"
|
||||||
# Mac App Store command-line interface
|
|
||||||
brew "mas"
|
|
||||||
# Mongrel of mail user agents (part elm, pine, mush, mh, etc.)
|
# Mongrel of mail user agents (part elm, pine, mush, mh, etc.)
|
||||||
brew "mutt"
|
brew "mutt"
|
||||||
# NCurses Disk Usage
|
# NCurses Disk Usage
|
||||||
brew "ncdu"
|
brew "ncdu"
|
||||||
# Ambitious Vim-fork focused on extensibility and agility
|
|
||||||
brew "neovim"
|
|
||||||
# HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
|
# HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
|
||||||
brew "nginx"
|
brew "nginx"
|
||||||
# Port scanning utility for large networks
|
# Port scanning utility for large networks
|
||||||
brew "nmap"
|
brew "nmap"
|
||||||
# Manage multiple Node.js versions
|
# Manage compile and link flags for libraries
|
||||||
brew "nvm"
|
brew "pkg-config"
|
||||||
# Development kit for the Java programming language
|
|
||||||
brew "openjdk@11"
|
|
||||||
# Generate clients, server & docs from an OpenAPI spec (v2, v3)
|
|
||||||
brew "openapi-generator"
|
|
||||||
# Swiss-army knife of markup format conversion
|
|
||||||
brew "pandoc"
|
|
||||||
# Highly capable, feature-rich programming language
|
|
||||||
brew "perl"
|
|
||||||
# General-purpose scripting language
|
|
||||||
brew "php@8.1"
|
|
||||||
# Coreutils progress viewer
|
# Coreutils progress viewer
|
||||||
brew "progress"
|
brew "progress"
|
||||||
# Simple Python style checker in one Python file
|
|
||||||
brew "pycodestyle"
|
|
||||||
# Python version management
|
# Python version management
|
||||||
brew "pyenv"
|
brew "pyenv"
|
||||||
# Migrate pip packages from one Python version to another
|
# Migrate pip packages from one Python version to another
|
||||||
brew "pyenv-pip-migrate"
|
brew "pyenv-pip-migrate"
|
||||||
# Pyenv plugin to manage virtualenv
|
# Pyenv plugin to manage virtualenv
|
||||||
brew "pyenv-virtualenv"
|
brew "pyenv-virtualenv"
|
||||||
# Interpreted, interactive, object-oriented programming language
|
# Cryptographic recipes and primitives for Python
|
||||||
brew "python@3.10"
|
brew "python-cryptography"
|
||||||
# Interpreted, interactive, object-oriented programming language
|
|
||||||
brew "python@3.8"
|
|
||||||
# Install various Ruby versions and implementations
|
# Install various Ruby versions and implementations
|
||||||
brew "ruby-build"
|
brew "ruby-build"
|
||||||
# Ruby version manager
|
# Ruby version manager
|
||||||
brew "rbenv"
|
brew "rbenv"
|
||||||
# RC file (dotfile) management
|
|
||||||
brew "rcm"
|
|
||||||
# Search tool like grep and The Silver Searcher
|
# Search tool like grep and The Silver Searcher
|
||||||
brew "ripgrep"
|
brew "ripgrep"
|
||||||
|
# Safe, concurrent, practical language
|
||||||
|
brew "rust"
|
||||||
# Static analysis and lint tool, for (ba)sh scripts
|
# Static analysis and lint tool, for (ba)sh scripts
|
||||||
brew "shellcheck"
|
brew "shellcheck"
|
||||||
# Autoformat shell script source code
|
# Autoformat shell script source code
|
||||||
brew "shfmt"
|
brew "shfmt"
|
||||||
# Support CI generation of SBOMs via golang tooling
|
|
||||||
brew "spdx-sbom-generator"
|
|
||||||
# Version control system designed to be a better CVS
|
|
||||||
brew "subversion"
|
|
||||||
# Feature-rich console based todo list manager
|
# Feature-rich console based todo list manager
|
||||||
brew "task"
|
brew "task"
|
||||||
# Terminal user interface for taskwarrior
|
# Terminal user interface for taskwarrior
|
||||||
brew "taskwarrior-tui"
|
brew "taskwarrior-tui"
|
||||||
# Very fast implementation of tldr in Rust
|
|
||||||
brew "tealdeer"
|
|
||||||
# Send macOS User Notifications from the command-line
|
# Send macOS User Notifications from the command-line
|
||||||
brew "terminal-notifier"
|
brew "terminal-notifier"
|
||||||
# Thin wrapper for Terraform e.g. for locking state
|
# Thin wrapper for Terraform e.g. for locking state
|
||||||
@@ -273,91 +211,37 @@ brew "tfenv"
|
|||||||
brew "tflint"
|
brew "tflint"
|
||||||
# Static analysis security scanner for your terraform code
|
# Static analysis security scanner for your terraform code
|
||||||
brew "tfsec"
|
brew "tfsec"
|
||||||
# Programmatically correct mistyped console commands
|
|
||||||
brew "thefuck"
|
|
||||||
# Terminal multiplexer
|
# Terminal multiplexer
|
||||||
brew "tmux"
|
brew "tmux"
|
||||||
# Display directories as trees (with optional color/HTML output)
|
# Display directories as trees (with optional color/HTML output)
|
||||||
brew "tree"
|
brew "tree"
|
||||||
# Vulnerability scanner for container images, file systems, and Git repos
|
|
||||||
brew "trivy"
|
|
||||||
# Modern watch command
|
|
||||||
brew "viddy"
|
|
||||||
# Tool for creating isolated virtual python environments
|
# Tool for creating isolated virtual python environments
|
||||||
brew "virtualenv"
|
brew "virtualenv"
|
||||||
# Command-line interface to the WakaTime api
|
# Command-line interface to the WakaTime api
|
||||||
brew "wakatime-cli"
|
brew "wakatime-cli"
|
||||||
# Executes a program periodically, showing output fullscreen
|
# Executes a program periodically, showing output fullscreen
|
||||||
brew "watch"
|
brew "watch"
|
||||||
# Watch files and take action when they change
|
|
||||||
brew "watchman"
|
|
||||||
# Internet file retriever
|
# Internet file retriever
|
||||||
brew "wget"
|
brew "wget"
|
||||||
# Personal information dashboard for your terminal
|
|
||||||
brew "wtfutil"
|
|
||||||
# Check your $HOME for unwanted files and directories
|
# Check your $HOME for unwanted files and directories
|
||||||
brew "xdg-ninja", args: ["HEAD"]
|
brew "xdg-ninja", args: ["HEAD"]
|
||||||
# Hackable, minimal, fast TUI file explorer
|
|
||||||
brew "xplr"
|
|
||||||
# JavaScript package manager
|
# JavaScript package manager
|
||||||
brew "yarn"
|
brew "yarn"
|
||||||
# A vulnerability scanner for container images and filesystems
|
|
||||||
brew "anchore/grype/grype"
|
|
||||||
# High-performance load testing tool, written in Golang.
|
|
||||||
brew "ddosify/tap/ddosify"
|
|
||||||
# lets you quickly switch between multiple git user profiles
|
# lets you quickly switch between multiple git user profiles
|
||||||
brew "gesquive/tap/git-user"
|
brew "gesquive/tap/git-user"
|
||||||
# A simple terminal UI for git commands, written in Go
|
|
||||||
brew "jesseduffield/lazygit/lazygit"
|
|
||||||
brew "keith/formulae/reminders-cli"
|
brew "keith/formulae/reminders-cli"
|
||||||
# High-performance, schema-free, document-oriented database
|
|
||||||
brew "mongodb/brew/mongodb-community"
|
|
||||||
# Imagick PHP extension
|
|
||||||
brew "shivammathur/extensions/imagick@8.2"
|
|
||||||
# Imagick PHP extension
|
|
||||||
brew "shivammathur/extensions/imagick@8.3"
|
|
||||||
# Mcrypt PHP extension
|
|
||||||
brew "shivammathur/extensions/mcrypt@8.3"
|
|
||||||
# PCOV PHP extension
|
|
||||||
brew "shivammathur/extensions/pcov@8.3"
|
|
||||||
# Redis PHP extension
|
|
||||||
brew "shivammathur/extensions/redis@8.3"
|
|
||||||
# Uuid PHP extension
|
|
||||||
brew "shivammathur/extensions/uuid@8.3"
|
|
||||||
# Xdebug PHP extension
|
|
||||||
brew "shivammathur/extensions/xdebug@7.4"
|
|
||||||
# Xdebug PHP extension
|
|
||||||
brew "shivammathur/extensions/xdebug@8.0"
|
|
||||||
# Xdebug PHP extension
|
|
||||||
brew "shivammathur/extensions/xdebug@8.1"
|
|
||||||
# Yaml PHP extension
|
|
||||||
brew "shivammathur/extensions/yaml@8.3"
|
|
||||||
# General-purpose scripting language
|
|
||||||
brew "shivammathur/php/php"
|
|
||||||
# General-purpose scripting language
|
|
||||||
brew "shivammathur/php/php@7.4"
|
|
||||||
# General-purpose scripting language
|
|
||||||
brew "shivammathur/php/php@8.0"
|
|
||||||
# Ookla Speedtest
|
|
||||||
brew "teamookla/speedtest/speedtest"
|
|
||||||
# Command-line interface for 1Password
|
# Command-line interface for 1Password
|
||||||
cask "1password-cli"
|
cask "1password-cli"
|
||||||
# GPU-accelerated terminal emulator
|
# GPU-accelerated terminal emulator
|
||||||
cask "alacritty"
|
cask "alacritty"
|
||||||
# Automatic tiling window manager similar to xmonad
|
|
||||||
cask "amethyst"
|
|
||||||
# Turn audio CDs and files into audiobooks
|
|
||||||
cask "audiobook-builder"
|
|
||||||
# Text editor
|
# Text editor
|
||||||
cask "coda"
|
cask "coda"
|
||||||
# Universal database tool and SQL client
|
# Universal database tool and SQL client
|
||||||
cask "dbeaver-community"
|
cask "dbeaver-community"
|
||||||
# Database version management tool
|
# Database version management tool
|
||||||
cask "dbngin"
|
cask "dbngin"
|
||||||
# App to build and share containerized applications and microservices
|
# App to build and share containerised applications and microservices
|
||||||
cask "docker"
|
cask "docker"
|
||||||
# UI toolkit for building applications for mobile, web and desktop
|
|
||||||
cask "flutter"
|
|
||||||
# Unofficial overcast.fm podcast app
|
# Unofficial overcast.fm podcast app
|
||||||
cask "fog"
|
cask "fog"
|
||||||
# Typeface made for developers
|
# Typeface made for developers
|
||||||
@@ -376,8 +260,6 @@ cask "font-source-serif-pro"
|
|||||||
cask "fontplop"
|
cask "fontplop"
|
||||||
# GIT client
|
# GIT client
|
||||||
cask "fork"
|
cask "fork"
|
||||||
# Set of tools to manage resources and applications hosted on Google Cloud
|
|
||||||
cask "google-cloud-sdk"
|
|
||||||
# HTTP and GraphQL Client
|
# HTTP and GraphQL Client
|
||||||
cask "insomnia"
|
cask "insomnia"
|
||||||
# JetBrains tools manager
|
# JetBrains tools manager
|
||||||
@@ -394,7 +276,7 @@ cask "ngrok"
|
|||||||
cask "notunes"
|
cask "notunes"
|
||||||
# Knowledge base that works on top of a local folder of plain text Markdown files
|
# Knowledge base that works on top of a local folder of plain text Markdown files
|
||||||
cask "obsidian"
|
cask "obsidian"
|
||||||
# Scheduling application focusing on organization
|
# Scheduling application focusing on organisation
|
||||||
cask "omnifocus"
|
cask "omnifocus"
|
||||||
# Collaboration platform for API development
|
# Collaboration platform for API development
|
||||||
cask "postman"
|
cask "postman"
|
||||||
@@ -412,12 +294,6 @@ cask "quicklookase"
|
|||||||
cask "quitter"
|
cask "quitter"
|
||||||
# Control your tools with a few keystrokes
|
# Control your tools with a few keystrokes
|
||||||
cask "raycast"
|
cask "raycast"
|
||||||
# Move and resize windows using keyboard shortcuts or snap areas
|
|
||||||
cask "rectangle"
|
|
||||||
# GUI for rsync
|
|
||||||
cask "rsyncosx"
|
|
||||||
# GUI for rsync
|
|
||||||
cask "rsyncui"
|
|
||||||
# MySQL/MariaDB database management
|
# MySQL/MariaDB database management
|
||||||
cask "sequel-ace"
|
cask "sequel-ace"
|
||||||
# Plugin for AWS CLI to start and end sessions that connect to managed instances
|
# Plugin for AWS CLI to start and end sessions that connect to managed instances
|
||||||
@@ -438,5 +314,5 @@ cask "visual-studio-code"
|
|||||||
cask "vlc"
|
cask "vlc"
|
||||||
# Spell-checking service for Finnish
|
# Spell-checking service for Finnish
|
||||||
cask "voikkospellservice"
|
cask "voikkospellservice"
|
||||||
# Rust-based terminal
|
# Application for generating TOTP and HOTP codes
|
||||||
cask "warp"
|
cask "yubico-authenticator"
|
||||||
|
|||||||
1
config/nvim-kickstart
Submodule
1
config/nvim-kickstart
Submodule
Submodule config/nvim-kickstart added at ea6a6700bf
@@ -3,10 +3,13 @@
|
|||||||
"lazyvim.plugins.extras.coding.copilot",
|
"lazyvim.plugins.extras.coding.copilot",
|
||||||
"lazyvim.plugins.extras.coding.yanky",
|
"lazyvim.plugins.extras.coding.yanky",
|
||||||
"lazyvim.plugins.extras.editor.aerial",
|
"lazyvim.plugins.extras.editor.aerial",
|
||||||
|
"lazyvim.plugins.extras.editor.outline",
|
||||||
|
"lazyvim.plugins.extras.editor.harpoon2",
|
||||||
"lazyvim.plugins.extras.editor.leap",
|
"lazyvim.plugins.extras.editor.leap",
|
||||||
"lazyvim.plugins.extras.editor.symbols-outline",
|
"lazyvim.plugins.extras.editor.refactoring",
|
||||||
"lazyvim.plugins.extras.formatting.black",
|
"lazyvim.plugins.extras.formatting.black",
|
||||||
"lazyvim.plugins.extras.formatting.prettier",
|
"lazyvim.plugins.extras.formatting.prettier",
|
||||||
|
"lazyvim.plugins.extras.lang.ansible",
|
||||||
"lazyvim.plugins.extras.lang.docker",
|
"lazyvim.plugins.extras.lang.docker",
|
||||||
"lazyvim.plugins.extras.lang.go",
|
"lazyvim.plugins.extras.lang.go",
|
||||||
"lazyvim.plugins.extras.lang.json",
|
"lazyvim.plugins.extras.lang.json",
|
||||||
@@ -15,15 +18,18 @@
|
|||||||
"lazyvim.plugins.extras.lang.tailwind",
|
"lazyvim.plugins.extras.lang.tailwind",
|
||||||
"lazyvim.plugins.extras.lang.terraform",
|
"lazyvim.plugins.extras.lang.terraform",
|
||||||
"lazyvim.plugins.extras.lang.typescript",
|
"lazyvim.plugins.extras.lang.typescript",
|
||||||
|
"lazyvim.plugins.extras.lang.vue",
|
||||||
"lazyvim.plugins.extras.lang.yaml",
|
"lazyvim.plugins.extras.lang.yaml",
|
||||||
"lazyvim.plugins.extras.linting.eslint",
|
"lazyvim.plugins.extras.linting.eslint",
|
||||||
"lazyvim.plugins.extras.ui.edgy",
|
"lazyvim.plugins.extras.ui.edgy",
|
||||||
"lazyvim.plugins.extras.ui.mini-animate",
|
"lazyvim.plugins.extras.ui.mini-animate",
|
||||||
"lazyvim.plugins.extras.util.dot",
|
"lazyvim.plugins.extras.util.dot",
|
||||||
"lazyvim.plugins.extras.vscode"
|
"lazyvim.plugins.extras.util.mini-hipatterns",
|
||||||
|
"lazyvim.plugins.extras.editor.aerial",
|
||||||
|
"lazyvim.plugins.extras.editor.outline"
|
||||||
],
|
],
|
||||||
"news": {
|
"news": {
|
||||||
"NEWS.md": "2123"
|
"NEWS.md": "5204"
|
||||||
},
|
},
|
||||||
"version": 2
|
"version": 6
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,24 @@
|
|||||||
-- luacheck: globals vim
|
-- luacheck: globals vim
|
||||||
return {
|
return {
|
||||||
|
-- Neotree configuration
|
||||||
|
{
|
||||||
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
|
opts = {
|
||||||
|
filesystem = {
|
||||||
|
filtered_items = {
|
||||||
|
always_show = {
|
||||||
|
".github",
|
||||||
|
".gitignore",
|
||||||
|
".editorconfig",
|
||||||
|
".python-version",
|
||||||
|
".nvmrc",
|
||||||
|
".env",
|
||||||
|
".env.example",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
-- Cloak allows you to overlay *'s over defined patterns in defined files.
|
-- Cloak allows you to overlay *'s over defined patterns in defined files.
|
||||||
-- https://github.com/laytan/cloak.nvim
|
-- https://github.com/laytan/cloak.nvim
|
||||||
{ "laytan/cloak.nvim" },
|
{ "laytan/cloak.nvim" },
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"style": "plain",
|
"style": "plain",
|
||||||
"foreground": "lightGreen",
|
"foreground": "lightGreen",
|
||||||
"template": "git({{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }})",
|
"template": "{{ .UpstreamIcon }}{{ if or (.Staging.Changed) (.Working.Changed) }}({{if .Behind }}\u2193 {{ .Behind }} {{ end }}{{if .Staging.Changed }}\uF046 {{ .Staging.String }} {{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }}| {{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}){{ end }}",
|
||||||
"properties": {
|
"properties": {
|
||||||
"fetch_status": true,
|
"fetch_status": true,
|
||||||
"fetch_upstream_icon": true,
|
"fetch_upstream_icon": true,
|
||||||
@@ -130,21 +130,5 @@
|
|||||||
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
|
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
|
||||||
"template": "\u279c "
|
"template": "\u279c "
|
||||||
},
|
},
|
||||||
"tooltips": [
|
|
||||||
{
|
|
||||||
"type": "git",
|
|
||||||
"tips": ["git", "g"],
|
|
||||||
"style": "diamond",
|
|
||||||
"foreground": "#193549",
|
|
||||||
"background": "#fffb38",
|
|
||||||
"leading_diamond": "",
|
|
||||||
"trailing_diamond": "",
|
|
||||||
"template": "{{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}",
|
|
||||||
"properties": {
|
|
||||||
"fetch_status": true,
|
|
||||||
"fetch_upstream_icon": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"version": 2
|
"version": 2
|
||||||
}
|
}
|
||||||
|
|||||||
Submodule config/tmux/plugins/tmux-window-name updated: f89e9c9d71...0772aa2033
@@ -47,6 +47,7 @@ bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
|||||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||||
bind '"' split-window -v -c "#{pane_current_path}"
|
bind '"' split-window -v -c "#{pane_current_path}"
|
||||||
bind '!' split-window -h -c "#{pane_current_path}"
|
bind '!' split-window -h -c "#{pane_current_path}"
|
||||||
|
bind '^' switch-client -t'{marked}'
|
||||||
|
|
||||||
# synchronize all panes in a window
|
# synchronize all panes in a window
|
||||||
bind y setw synchronize-panes
|
bind y setw synchronize-panes
|
||||||
@@ -70,9 +71,22 @@ bind p paste-buffer
|
|||||||
# Setting status on
|
# Setting status on
|
||||||
set -g status "on"
|
set -g status "on"
|
||||||
|
|
||||||
|
# Hide clock
|
||||||
|
set -g display-time 0
|
||||||
|
|
||||||
|
# Activity Monitoring (for when something happens in another pain)
|
||||||
|
set -g monitor-activity on
|
||||||
|
set -g visual-activity on
|
||||||
|
|
||||||
# Expose window title
|
# Expose window title
|
||||||
set-option -g set-titles on
|
set-option -g set-titles on
|
||||||
|
|
||||||
|
# Set bigger history limit
|
||||||
|
set -g history-limit 20000
|
||||||
|
|
||||||
|
# Keep Tmux alive when the initial command is finished
|
||||||
|
set -g remain-on-exit off
|
||||||
|
|
||||||
# Mouse support
|
# Mouse support
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
@@ -92,21 +106,21 @@ set-window-option -g mode-keys vi
|
|||||||
# │ Theme │
|
# │ Theme │
|
||||||
# ╰──────────────────────────────────────────────────────────╯
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
# Make sure status sides are long enough and centered is in the middle
|
set -g status-left-length "0"
|
||||||
set -g status-left-length "30"
|
|
||||||
set -g status-right-length "30"
|
set -g status-right-length "30"
|
||||||
|
|
||||||
set-option -g status-position "bottom"
|
set-option -g status-position "bottom"
|
||||||
set-option -g status-style 'bg=default,fg=#ffffff'
|
set-option -g status-style 'bg=default,fg=#ffffff'
|
||||||
set-option -g status-justify centre
|
set-option -g status-justify left
|
||||||
set-option -g status-left '#h '
|
set-option -g status-left ''
|
||||||
set-window-option -g window-status-style 'fg=#ffffff,bg=default'
|
set-window-option -g window-status-style 'fg=#ffffff,bg=default'
|
||||||
set-option -g window-status-format ' #I:#W '
|
set-option -g window-status-format ' #I:#W '
|
||||||
set-window-option -g window-status-current-style 'fg=#111111,bg=#7aa2f7'
|
set-window-option -g window-status-current-style 'fg=#111111,bg=#7aa2f7'
|
||||||
set-option -g window-status-current-format ' #I:#W#{?window_zoomed_flag, , } '
|
set-option -g window-status-current-format ' #I:#W#{?window_zoomed_flag, , } '
|
||||||
|
|
||||||
set-option -g status-left "#{?#{pane_ssh_connected},#{hostname_short}/,}#S"
|
set-option -g status-right "#{hostname_short}/#S #{tmux_mode_indicator}"
|
||||||
set-option -g status-right "%H:%M #{tmux_mode_indicator}"
|
|
||||||
|
set -g message-style 'fg=colour2 bg=colour0 bold'
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────────────╮
|
# ╭──────────────────────────────────────────────────────────╮
|
||||||
# │ Plugins related configurations │
|
# │ Plugins related configurations │
|
||||||
@@ -120,19 +134,20 @@ set -g @suspend_key 'F12'
|
|||||||
## A plugin to name your tmux windows smartly.
|
## A plugin to name your tmux windows smartly.
|
||||||
## https://github.com/ofirgall/tmux-window-name
|
## https://github.com/ofirgall/tmux-window-name
|
||||||
### Maximum name length of a window
|
### Maximum name length of a window
|
||||||
set -g @tmux_window_name_max_name_len "30"
|
set -g @tmux_window_name_max_name_len "20"
|
||||||
### Replace $HOME with ~ in window names
|
### Replace $HOME with ~ in window names
|
||||||
set -g @tmux_window_name_use_tilde "True"
|
set -g @tmux_window_name_use_tilde "True"
|
||||||
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']"
|
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']"
|
||||||
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
|
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
|
||||||
set -g @tmux_window_name_ignored_programs "['sqlite3']" # Default is []
|
set -g @tmux_window_name_ignored_programs "['sqlite3', 'x-set-php-aliases']" # Default is []
|
||||||
|
set -g @tmux_window_name_substitute_sets "[('.+ipython2', 'ipython2'), ('.+ipython3', 'ipython3')]"
|
||||||
|
|
||||||
## https://github.com/tmux-plugins/tmux-continuum
|
## https://github.com/tmux-plugins/tmux-continuum
|
||||||
set -g @continuum-restore 'on'
|
set -g @continuum-restore 'on'
|
||||||
|
|
||||||
## https://github.com/tmux-plugins/tmux-resurrect
|
## https://github.com/tmux-plugins/tmux-resurrect
|
||||||
set -g @resurrect-strategy-nvim 'session'
|
set -g @resurrect-strategy-nvim 'session'
|
||||||
set -g @resurrect-dir '$HOME/.local/state/tmux/tmux-resurrect'
|
set -g @resurrect-dir '~/.local/state/tmux/tmux-resurrect'
|
||||||
|
|
||||||
## https://github.com/MunifTanjim/tmux-mode-indicator
|
## https://github.com/MunifTanjim/tmux-mode-indicator
|
||||||
set -g @mode_indicator_prefix_mode_style 'bg=default,fg=#7aa2f7'
|
set -g @mode_indicator_prefix_mode_style 'bg=default,fg=#7aa2f7'
|
||||||
|
|||||||
@@ -213,6 +213,8 @@ function section_brew
|
|||||||
"update:Updates and upgrades brew packages"
|
"update:Updates and upgrades brew packages"
|
||||||
"updatebundle:Updates Brewfile with descriptions"
|
"updatebundle:Updates Brewfile with descriptions"
|
||||||
"autoupdate:Setups brew auto-update and runs it immediately"
|
"autoupdate:Setups brew auto-update and runs it immediately"
|
||||||
|
"leaves:List brew leaves (installed on request)"
|
||||||
|
"clean:Clean up brew packages"
|
||||||
)
|
)
|
||||||
|
|
||||||
x-have brew && {
|
x-have brew && {
|
||||||
@@ -225,12 +227,18 @@ function section_brew
|
|||||||
msg_yay "Done!"
|
msg_yay "Done!"
|
||||||
;;
|
;;
|
||||||
updatebundle)
|
updatebundle)
|
||||||
# Updates .dotfiles/Brewfile with descriptions
|
# Updates .dotfiles/homebrew/Brewfile with descriptions
|
||||||
brew bundle dump \
|
brew bundle dump \
|
||||||
--force \
|
--force \
|
||||||
--file="$BREWFILE" \
|
--file="$BREWFILE" \
|
||||||
--describe && msg_yay "Done!"
|
--describe && msg_yay "Done!"
|
||||||
;;
|
;;
|
||||||
|
leaves)
|
||||||
|
brew leaves --installed-on-request
|
||||||
|
;;
|
||||||
|
clean)
|
||||||
|
brew bundle cleanup --file="$BREWFILE" && msg_yay "Done!"
|
||||||
|
;;
|
||||||
autoupdate)
|
autoupdate)
|
||||||
brew autoupdate delete
|
brew autoupdate delete
|
||||||
brew autoupdate start 43200 --upgrade --cleanup --immediate
|
brew autoupdate start 43200 --upgrade --cleanup --immediate
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# work around https://github.com/Microsoft/vscode/issues/3941
|
|
||||||
# and anyone else who expects to see a 'python' executable
|
|
||||||
|
|
||||||
exec python3 "$@"
|
|
||||||
17
local/bin/x-gh-get-latest-release-targz
Executable file
17
local/bin/x-gh-get-latest-release-targz
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
REPO=$1
|
||||||
|
|
||||||
|
if [ -z "$REPO" ]; then
|
||||||
|
echo "Usage: $0 <repo> (e.g. ivuorinen/dotfiles)"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
LOCATION=$(curl -s "https://api.github.com/repos/${REPO}/releases/latest" \
|
||||||
|
| sed -Ene '/^[[:blank:]]+"tarball_url":[[:blank:]]"(https:[^"]+)",/s//\1/p')
|
||||||
|
|
||||||
|
echo "Downloading and extracting from: $LOCATION"
|
||||||
|
|
||||||
|
curl --location --silent "$LOCATION" | tar --extract --gzip --file=-
|
||||||
|
|
||||||
|
# vim: set ts=2 sw=2 ft=sh et:
|
||||||
18
local/bin/x-gh-get-latest-version
Executable file
18
local/bin/x-gh-get-latest-version
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
REPO=$1
|
||||||
|
|
||||||
|
if [ -z "$REPO" ]; then
|
||||||
|
echo "Usage: $0 <repo> (e.g. ivuorinen/dotfiles)"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
VERSION=$(
|
||||||
|
curl -s "https://api.github.com/repos/${REPO}/releases/latest" \
|
||||||
|
| grep "tag_name" \
|
||||||
|
| awk '{print substr($2, 2, length($2)-3)}'
|
||||||
|
)
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
|
|
||||||
|
# vim: set ts=2 sw=2 ft=sh et:
|
||||||
@@ -29,5 +29,6 @@
|
|||||||
"homepage": "https://github.com/ivuorinen/dotfiles#readme",
|
"homepage": "https://github.com/ivuorinen/dotfiles#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ivuorinen/base-configs": "^1.1.0"
|
"@ivuorinen/base-configs": "^1.1.0"
|
||||||
}
|
},
|
||||||
|
"packageManager": "yarn@1.22.22"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,78 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# shellcheck disable=SC2231,SC2034,SC2181,SC2068
|
|
||||||
# shellcheck source=shared.sh
|
|
||||||
source "$HOME/.dotfiles/scripts/shared.sh"
|
|
||||||
|
|
||||||
TLDR_REQUIRED_TOOLS=(git cheat)
|
|
||||||
for t in ${TLDR_REQUIRED_TOOLS[@]}; do
|
|
||||||
! x-have "$t" && echo "(!) $t is missing, can't continue..." && exit 1
|
|
||||||
done
|
|
||||||
|
|
||||||
TLDR_GIT="https://github.com/tldr-pages/tldr.git"
|
|
||||||
TLDR_SOURCE="source: $TLDR_GIT"
|
|
||||||
TLDR_SYNTAX="syntax: markdown"
|
|
||||||
|
|
||||||
TLDR_TEMP_PREFIX=$(basename "$0")
|
|
||||||
TLDR_TEMP_DIR="$XDG_CACHE_HOME/cheat/tldr"
|
|
||||||
|
|
||||||
# If there's no .git, clone the folder
|
|
||||||
if [ ! -d "$TLDR_TEMP_DIR/.git" ]; then
|
|
||||||
msg_run "Starting to clone $TLDR_GIT"
|
|
||||||
git clone --depth 1 --single-branch -q "$TLDR_GIT" "$TLDR_TEMP_DIR" \
|
|
||||||
&& msg_done "Cloned $TLDR_GIT"
|
|
||||||
else
|
|
||||||
# Update the repo
|
|
||||||
msg_run "Starting to update $TLDR_GIT"
|
|
||||||
git -C "$TLDR_TEMP_DIR" reset --hard origin/main
|
|
||||||
git -C "$TLDR_TEMP_DIR" pull -q --depth 2 \
|
|
||||||
&& msg_done "Updated $TLDR_GIT"
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_run "Removing non-english translation files"
|
|
||||||
rm -rf "$TLDR_TEMP_DIR/pages.*"
|
|
||||||
|
|
||||||
# Fetch the destination directory from cheat defined directories.
|
|
||||||
TLDR_CHEAT_DEST="$(cheat -d | grep tldr | head -1 | awk '{print $2}')"
|
|
||||||
|
|
||||||
[ "$TLDR_CHEAT_DEST" = "" ] \
|
|
||||||
&& msg_err "cheat doesn't know about the destination" \
|
|
||||||
&& exit 1
|
|
||||||
|
|
||||||
if [ ! -d "$TLDR_CHEAT_DEST" ]; then
|
|
||||||
mkdir -p "$TLDR_CHEAT_DEST"
|
|
||||||
fi
|
|
||||||
|
|
||||||
for d in "$TLDR_TEMP_DIR"/pages/*; do
|
|
||||||
DIRNAME=$(basename "$d")
|
|
||||||
# echo "-> $DIRNAME ($d)"
|
|
||||||
|
|
||||||
SECTION_DIR="${TLDR_CHEAT_DEST}/$DIRNAME"
|
|
||||||
|
|
||||||
[ "$DIRNAME" = "common" ] && SECTION_DIR="${TLDR_CHEAT_DEST}"
|
|
||||||
|
|
||||||
TLDR_TAGS="tags: [$DIRNAME]"
|
|
||||||
|
|
||||||
if [ ! -d "$SECTION_DIR" ]; then
|
|
||||||
mkdir -p "$SECTION_DIR"
|
|
||||||
fi
|
|
||||||
|
|
||||||
for FILE in $d/*.md; do
|
|
||||||
BASENAME=$(basename "$FILE" .md)
|
|
||||||
FILENAME="${BASENAME%%.*}"
|
|
||||||
# echo "-> $FILE = $FILENAME"
|
|
||||||
TLDR_FILE="$SECTION_DIR/${BASENAME}"
|
|
||||||
# echo "-> dest: $TLDR_FILE"
|
|
||||||
|
|
||||||
# Update the original file for making the replacable value comparable
|
|
||||||
if [ -f "$FILE" ] && [ '---' != "$(head -1 < "$FILE")" ]; then
|
|
||||||
echo -e "---\n$TLDR_SYNTAX\n$TLDR_TAGS\n$TLDR_SOURCE\n---\n$(cat "$FILE")" > "$FILE"
|
|
||||||
fi
|
|
||||||
|
|
||||||
replacable "$FILE" "$TLDR_FILE"
|
|
||||||
override=$?
|
|
||||||
if [ "$override" -ne 0 ]; then
|
|
||||||
cp "$FILE" "$TLDR_FILE" && msg_run "Updated: $TLDR_FILE"
|
|
||||||
fi
|
|
||||||
|
|
||||||
done
|
|
||||||
done
|
|
||||||
@@ -2,4 +2,6 @@ Include shared.d/*
|
|||||||
Include local.d/*
|
Include local.d/*
|
||||||
|
|
||||||
Host *
|
Host *
|
||||||
|
ServerAliveInterval 300 # send null packets every 5min to keep connection alive
|
||||||
|
ServerAliveCountMax 2 # if the server doesn't respond 2 times, it's gone so give up
|
||||||
# IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
# IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
||||||
|
|||||||
15
ssh/shared.d/demons
Normal file
15
ssh/shared.d/demons
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
Host vine
|
||||||
|
User ubuntu
|
||||||
|
HostName vine.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/keys/vine.pem
|
||||||
|
|
||||||
|
Host purson
|
||||||
|
User ubuntu
|
||||||
|
HostName purson.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
|
||||||
|
Host paimon
|
||||||
|
User ivuorinen
|
||||||
|
HostName paimon.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
|
||||||
Submodule tools/dotbot-pip updated: 42e6a8f3be...4d0cc116e8
Reference in New Issue
Block a user