File tree 7 files changed +57
-12
lines changed
7 files changed +57
-12
lines changed Original file line number Diff line number Diff line change
1
+ .PHONY: default
2
+ default:
3
+ sudo apt update
4
+ sudo apt install -y \
5
+ ca-certificates \
6
+ cargo \
7
+ curl \
8
+ fish \
9
+ git \
10
+ gnupg \
11
+ lsb-release \
12
+ ripgrep \
13
+ tmux \
14
+ vim
Original file line number Diff line number Diff line change @@ -13,9 +13,16 @@ config:
13
13
.PHONY : fisher-install
14
14
fisher-install :
15
15
curl https://git.io/fisher --create-dirs -sLo ${HOME} /.config/fish/functions/fisher.fish
16
+ fish -c ' fisher install jorgebucaran/nvm.fish'
16
17
17
18
# https://github.com/oh-my-fish/oh-my-fish/
18
19
.PHONY : omf-install
19
20
omf-install :
20
- curl -L https://get.oh-my.fish | fish
21
+ mkdir -p ${HOME} /.local/share/fonts
22
+ mkdir -p ${HOME} /.config/fontconfig/conf.d
23
+ curl -L " https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf" -o " ${HOME} /.local/share/fonts/PowerlineSymbols.otf"
24
+ curl -L " https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf" -o " ${HOME} /.config/fontconfig/conf.d/10-powerline-symbols.conf"
25
+ fc-cache -vf ${HOME} /.local/share/fonts/
26
+
27
+ curl -L "https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install" | fish
21
28
fish -c 'omf install bobthefish'
Original file line number Diff line number Diff line change 1
1
# vim:filetype=make
2
2
3
- KUBECTLVERSION =v1.16.6
4
- KUBECTLURL =https://storage.googleapis.com/kubernetes-release/release/${KUBECTLVERSION}/bin/linux/amd64/kubectl
5
-
6
3
ROOT_DIR: =$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST ) ) ) )
7
4
8
- .PHONY : install
9
- install :
10
- sudo rm -f /usr/local/bin/kubectl
11
- sudo curl -L ${KUBECTLURL} -o /usr/local/bin/kubectl
12
- sudo chmod +x /usr/local/bin/kubectl
5
+ .PHONY : install-kubectl
6
+ install-kubectl :
7
+ $(eval LATEST=$(shell curl -L -s https://dl.k8s.io/release/stable.txt) )
8
+ curl -vLO " https://dl.k8s.io/release/$( LATEST) /bin/linux/amd64/kubectl"
9
+ sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
10
+
11
+ .PHONY : install-krew
12
+ install-krew :
13
+ curl -fsSLO " https://github.com/kubernetes-sigs/krew/releases/latest/download/krew-linux_amd64.tar.gz"
14
+ tar xzf krew-linux_amd64.tar.gz
15
+ ./krew-linux_amd64 install krew
16
+
17
+ .PHONY : install-plugins
18
+ install-plugins :
19
+ kubectl krew install node-shell
20
+ kubectl krew install ns
21
+ kubectl krew install neat
13
22
14
23
.PHONY : fish
15
24
fish :
Original file line number Diff line number Diff line change
1
+ .PHONY : default
2
+ default :
3
+ sudo snap install \
4
+ brave
5
+
6
+ .PHONY : messaging
7
+ messaging :
8
+ sudo snap install -- classic slack
9
+ sudo snap install \
10
+ zoom - client \
11
+ telegram - desktop
Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ vimrc:
10
10
ln -s ${ROOT_DIR} /dotfiles/.vimrc ${HOME} /.vimrc
11
11
12
12
.PHONY : vundle-install
13
- vundle-install : vimrc
13
+ vundle-install :
14
14
ifeq (,$(wildcard ${HOME}/.vim/bundle/Vundle.vim) )
15
15
mkdir -p ${HOME}/.vim/bundle/Vundle.vim
16
16
git clone ${VUNDLEREPO} ${HOME}/.vim/bundle/Vundle.vim
17
17
endif
18
18
vim +PluginInstall +qall
19
19
20
20
.PHONY : coc-install
21
- coc-install : vimrc vundle-install
21
+ coc-install :
22
22
vim -c " :CocInstall coc-json coc-yaml coc-tsserver coc-eslint coc-prettier coc-solargraph"
23
23
rm -f ${HOME} /.vim/coc-settings.json
24
- ln -s ${ROOT_DIR} /dotfiles /coc-settings.json ${HOME} /.vim/coc-settings.json
24
+ ln -s ${ROOT_DIR} /vimrc /coc-settings.json ${HOME} /.vim/coc-settings.json
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ function get_running_pods_name
17
17
kubectl get pods --field-selector =status .phase=Running -o =jsonpath=' {range .items[*]}{@.metadata.name}{"\ n"}{end}'
18
18
end
19
19
20
+ if not contains $HOME /.krew/bin/ $PATH
21
+ set PATH $PATH $HOME /.krew/bin/
22
+ end
23
+
20
24
# # kshell regex [command]
21
25
function kshell
22
26
set -l pod (get_running_pods_name | grep -E $argv [1] | head -1 )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments