From 8f1ecdbfeebe474a6cfd25c4e21eb886ad865cbf Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Fri, 19 Apr 2019 17:19:08 +0200 Subject: [PATCH] life embetterment --- .config/nvim/coc-settings.json | 4 ---- .xinitrc | 1 + .zshrc | 3 ++- bin/dwm | Bin 55152 -> 55152 bytes bin/ktoolbox | 21 +-------------------- 5 files changed, 4 insertions(+), 25 deletions(-) mode change 100755 => 120000 bin/ktoolbox diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json index 897d1f6..fbba298 100644 --- a/.config/nvim/coc-settings.json +++ b/.config/nvim/coc-settings.json @@ -39,10 +39,6 @@ "command": "bingo", "rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"], "filetypes": ["go"] - }, - "jsonnet": { - "command": "jsonnet-language-server", - "filetypes": ["jsonnet"] } } } diff --git a/.xinitrc b/.xinitrc index 834e00e..89c3556 100755 --- a/.xinitrc +++ b/.xinitrc @@ -3,4 +3,5 @@ xsetroot -solid \#99aab0 xmodmap $HOME/.Xmodmap setxkbmap -option ctrl:nocaps,grp:switch,grp_led:scroll us,se alacritty -e tmux attach -t0 & +xcalib $HOME/.config/B140QAN02_0.icm exec $HOME/bin/dwm diff --git a/.zshrc b/.zshrc index 559bd77..f74f558 100644 --- a/.zshrc +++ b/.zshrc @@ -60,6 +60,7 @@ zplug "plugins/git", from:oh-my-zsh zplug "plugins/history-substring-search", from:oh-my-zsh zplug "zsh-users/zsh-syntax-highlighting", defer:2 zplug "arunvelsriram/kube-fzf", use:'kube-fzf.sh' +zplug "thecasualcoder/kube-fzf", as:command, use:"{*pod,*.sh}" zplug "~/.zsh", from:local @@ -258,7 +259,7 @@ alias ag='ag --pager less' alias cdiff='colordiff -u' alias dotgit='git --work-tree $HOME --git-dir $HOME/.dot_git' alias hs='history -a; history -n' -alias l='less -nS' +alias l='less -nRS' alias lower="tr '[:upper:]' '[:lower:]'" alias pstree="pstree -Auh | less" alias tail='tail -n $LINES' diff --git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sf^!xh6=3b+Tp36G61kHdANm;r3Ac9;mqU&ws#`?7>aiIP*pLEc8J)6mx`_dkqhQ--kKyw;wX^hY5eh zo5SzGi*N!?!<_5P^X8)d-j+FMWp13C*7~e-FQ+wQwIy{TF5gHjv$6Ri}ppduhV8Nmtg!oJEr^6WN=RGEAl@>=CJb@CLQ!+knUdacHn z|G>ON8#FF$a}8pteojek=@@27n@yHe9qwD`T$@?mrir#EWf48xuE-@+(jITj!x=Q{ zZ;Q!+nK(~k=xDn|K2Ck@iu%fh;BG3?8@`PR(YAUm>Kv!Zb}Pne?661+rFE>uC&TUz zn=GaJ4zqlb`a0s}Bwa&v8OctYw9@jPNDfd|cl2@}qS^?x zOWPk60DVA1)5$GlKa*4znA~|K*85Nj6pW zSmh)BG|!)IMQWn{--ME>*D$|0SpUhOmwz2-SJFTa_AbP?P;u`s=RRNvM(=(NnS=Se q-#;nA{M}KMc^|l7(aEc1A5ISc{}*BP@XGL9N1#%!_w4ZTkpBW{=$?20 diff --git a/bin/ktoolbox b/bin/ktoolbox deleted file mode 100755 index 673bba2..0000000 --- a/bin/ktoolbox +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -set -e -name=toolbox-${USER} -image='dlneintr/toolbox:latest' -labels="app=toolbox,owner=${USER},cookie=0xdeadbeef" - -existing=$(kubectl get pod -l ${labels} --output='jsonpath={.items..metadata.name}') - -if [ "${existing}" == "" ]; then - kubectl run --image=${image} --image-pull-policy=Always --labels=${labels} ${name} -fi - -for i in {1..10}; do - ready=$(kubectl get pod --field-selector=status.phase=Running -l ${labels} --output='jsonpath={.items..metadata.name}') - if [ "${ready}" != "" ]; then - exec kubectl exec -it ${ready} /bin/sh - fi - echo "Waiting for pod to be ready" - sleep 1 -done diff --git a/bin/ktoolbox b/bin/ktoolbox new file mode 120000 index 0000000..fcc985d --- /dev/null +++ b/bin/ktoolbox @@ -0,0 +1 @@ +/home/dln/src/github.com/dln/ktoolbox/ktoolbox \ No newline at end of file