From 74a7d68d9fc9e980a52b2a94b63529ecc71c6a64 Mon Sep 17 00:00:00 2001 From: Josh Reichardt Date: Tue, 3 Dec 2024 17:35:21 -0600 Subject: [PATCH] chore: brews and config cleanups --- .zshrc | 18 +++++++++--------- Brewfile | 7 +++++++ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.zshrc b/.zshrc index 13c050b..69142fe 100644 --- a/.zshrc +++ b/.zshrc @@ -88,7 +88,7 @@ setopt HIST_IGNORE_ALL_DUPS # Misc alias cat="bat --style=plain --paging=never" -alias bat="bat --paging=never" +alias bat="bat --number" alias diff="colordiff -u" alias e="exit" alias ff="fzf --preview 'bat {} --color=always --style=numbers --theme=1337'" @@ -130,6 +130,10 @@ alias lt='eza --tree --level=2' # Exports ######### +# Bat +export MANPAGER="sh -c 'col -bx | bat -l man -p'" +# export PAGER="/opt/homebrew/bin/bat" + # Node export NVM_COMPLETION=true @@ -165,9 +169,11 @@ export KUBECTL_EXTERNAL_DIFF=colordiff # AWS export AWS_PAGER="" -# export AWS_SESSION_TTL="12h" # export AWS_ASSUME_ROLE_TTL="1h" -# export AWS_SESSION_TTL="12h" # healthline default session duration +# export AWS_CSM_ENABLED=true +# export AWS_CSM_PORT=31000 +# export AWS_CSM_HOST=127.0.0.1 +# export AWS_SESSION_TTL="12h" # Krew k8s package manager export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" @@ -300,12 +306,6 @@ bindkey \^U backward-kill-line # bindkey -M menuselect 'j' vi-down-line-or-history # bindkey -v '^?' backward-delete-char -# Use highlight for better less/more colors -# export LESSOPEN="| $(which highlight) %s --out-format xterm256 -l --force -s moria --no-trailing-nl" -# export LESS=" -R" -# alias less='less -m -N -g -i -J --underline-special' -# alias more='less' - # kubectx/kubens completions fpath=($ZSH/functions $ZSH/completions $fpath) diff --git a/Brewfile b/Brewfile index 324ce57..fdfefd1 100644 --- a/Brewfile +++ b/Brewfile @@ -9,6 +9,7 @@ tap "ymtdzzz/tap" brew "act" brew "ansible" brew "ansible-lint" +brew "argo" brew "aquaproj/aqua/aqua" brew "aws-vault" brew "bat" @@ -18,8 +19,10 @@ brew "bats-assert" brew "bats-file" brew "bats-detik" brew "colordiff" +brew "conftest" brew "coreutils" brew "curl" +brew "derailed/popeye/popeye" brew "eks-kubeconfig-update" brew "diff-so-fancy" brew "difftastic" @@ -27,6 +30,7 @@ brew "direnv" brew "doctl" brew "dust" brew "eza" +brew "fairwindsops/tap/pluto" brew "fd" brew "findutils" brew "fzf" @@ -44,8 +48,11 @@ brew "jesseduffield/lazygit/lazygit" brew "jq" brew "k9s" brew "kind" +brew "kube-linter" +brew "kubeconform" brew "kubectl" brew "kubectx" +brew "kubent" brew "lazydocker" brew "mtr" brew "nmap"