Skip to content

Commit

Permalink
chore: brews and config cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
jmreicha committed Dec 3, 2024
1 parent 2af9d1c commit 74a7d68
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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)

Expand Down
7 changes: 7 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -18,15 +19,18 @@ 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"
brew "direnv"
brew "doctl"
brew "dust"
brew "eza"
brew "fairwindsops/tap/pluto"
brew "fd"
brew "findutils"
brew "fzf"
Expand All @@ -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"
Expand Down

0 comments on commit 74a7d68

Please sign in to comment.