From 7b4e283443648516f27a74fdab8b3b8eb826e99a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Fernando=20Carri=C3=B3n?= Date: Mon, 21 Feb 2022 12:15:28 +0100 Subject: [PATCH] update mac --- any/bash/.bash_aliases | 8 ++++++++ any/bash/.bashrc | 3 ++- darwin/karabiner/.config/karabiner/karabiner.json | 10 ++++++++-- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/any/bash/.bash_aliases b/any/bash/.bash_aliases index 9789f2a..b4939a8 100644 --- a/any/bash/.bash_aliases +++ b/any/bash/.bash_aliases @@ -5,3 +5,11 @@ alias vim=nvim alias tmux="tmux -2" alias ssh="TERM=xterm ssh" alias pyenv3="pyenv shell 3.6.12" +alias git="GPG_TTY=\$(tty) git" + +alias kubectl-ns="kubectl get namespaces --no-headers | awk '{print \$1}' | xargs -I {} bash -c -- echo {} && kubectl -n {}" + +if [ -f ~/.bash_aliases.local ] +then + . "$HOME/.bash_aliases.local" +fi diff --git a/any/bash/.bashrc b/any/bash/.bashrc index fbc59b8..e976b3d 100644 --- a/any/bash/.bashrc +++ b/any/bash/.bashrc @@ -97,9 +97,10 @@ fi if [ -d "$HOME/.kube" ] then export KUBECONFIG=$HOME/.kube/config.yaml + source <(kubectl completion bash) fi -GOPATH="$HOME/devel/go" +export GOPATH="$HOME/devel/go" #### Includes #### ################## diff --git a/darwin/karabiner/.config/karabiner/karabiner.json b/darwin/karabiner/.config/karabiner/karabiner.json index 45d8df7..29e5180 100644 --- a/darwin/karabiner/.config/karabiner/karabiner.json +++ b/darwin/karabiner/.config/karabiner/karabiner.json @@ -56,7 +56,10 @@ { "type": "frontmost_application_unless", "bundle_identifiers": [ - "^net\\.kovidgoyal\\.kitty" + "^com\\.apple\\.Terminal", + "^net\\.kovidgoyal\\.kitty", + "^com\\.googlecode\\.iterm2", + "^com\\.yourcompany\\.cool-retro-term" ] } ] @@ -73,7 +76,10 @@ { "type": "frontmost_application_unless", "bundle_identifiers": [ - "^net\\.kovidgoyal\\.kitty" + "^com\\.apple\\.Terminal", + "^net\\.kovidgoyal\\.kitty", + "^com\\.googlecode\\.iterm2", + "^com\\.yourcompany\\.cool-retro-term" ] } ]