Skip to content

Commit

Permalink
Update various
Browse files Browse the repository at this point in the history
  • Loading branch information
mileszs committed Aug 22, 2023
1 parent 05d23d5 commit 2dc6acc
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ scrollback_lines 100000
open_url_modifiers shift

# Look and feel
font_family Operator Mono Lig Book
italic_font Operator Mono Lig Book Italic
bold_font Operator Mono Lig Medium
bold_italic_font Operator Mono Lig Medium Italic
font_family MesloLGS NF
italic_font MesloLGS NF Italic
bold_font MesloLGS NF Bold
bold_italic_font MesloLGS NF Bold Italic
font_size 12.0

# No borders
Expand Down
2 changes: 2 additions & 0 deletions zsh/aliases.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
alias reload='source ~/.zshrc'

alias ls='lsd'
alias ll='ls -l'
alias la='ls -A'
Expand Down
19 changes: 19 additions & 0 deletions zsh/funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,22 @@ function pod_ssh {
echo "..."
kubectl exec -it $POD_ID -- /bin/bash
}

function bender_update {
if [[ $1 == "production" ]]
then
aws eks update-kubeconfig --name production-1-27 --alias production-1-27
elif [[ $1 == "staging" ]]
then
aws eks update-kubeconfig --name staging-1-27 --alias staging-1-27
else
aws eks update-kubeconfig --name testing-1-27 --alias testing-1-27
fi

}

function bender_login {
aws sso login
bender_update($1)
pod_ssh($1)
}

0 comments on commit 2dc6acc

Please sign in to comment.