Skip to content

Commit 1483251

Browse files
committed
cleanup
1 parent 0e55199 commit 1483251

File tree

8 files changed

+18
-76
lines changed

8 files changed

+18
-76
lines changed

.ansible.cfg

-3
This file was deleted.

.functions

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ dcleanup(){
77
docker rmi $(docker images --filter dangling=true -q 2>/dev/null) 2>/dev/null
88
}
99

10-
0file() { curl -F"file=@$1" https://envs.sh ; }
11-
1210
kubectl () {
1311
command kubectl $*
1412
if [[ -z $KUBECTL_COMPLETE ]]

.newsboat/config

-33
This file was deleted.

.newsboat/urls

-1
This file was deleted.

.ripgreprc

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--hidden
22
--follow
3-
--glob=!{.git,node_modules,vendor}
4-
--glob=!*.{lock}
5-
--glob=!{package-lock.json}
3+
--glob=!{.git,node_modules,vendor,package-lock.json}
64
--smart-case
75
--sort=path

.zshrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export EDITOR=vim
22
export LC_ALL=en_US.UTF-8
33
export LANG=en_US.UTF-8
4-
export PATH=/usr/local/opt/python@/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:$PATH
4+
export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:$PATH
55

66
export DOCKER_BUILDKIT=1
77
export HOMEBREW_NO_ANALYTICS=1

Brewfile

-5
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ brew 'tree'
1111
brew 'wget'
1212
brew 'curl'
1313
brew 'git'
14-
brew 'python'
15-
brew 'pipenv'
16-
brew 'ansible'
1714
brew 'vim'
1815
brew 'watch'
1916
brew 'awscli'
@@ -24,13 +21,11 @@ brew 'terraform-ls'
2421
brew 'telnet'
2522
brew 'tree'
2623
brew 'awk'
27-
brew 'newsboat'
2824
brew 'kubectl'
2925
brew 'kubectx'
3026
brew 'node'
3127
brew 'aws-cdk'
3228
brew 'helm'
33-
brew 'cmake'
3429
brew 'pure'
3530
brew 'aws-iam-authenticator'
3631
brew 'bat'

install.sh

+16-28
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
DOTFILES_DIR=$(pwd)
5-
64
if [[ $(uname) == 'Darwin' ]]; then
75
if [[ $(command -v brew) != 0 ]]; then
86
echo 'Installing Homebrew...'
@@ -22,33 +20,23 @@ if [[ $(uname) == 'Darwin' ]]; then
2220
grep -Fxq '$(brew --prefix)/bin/zsh' /etc/shells || sudo bash -c "echo $(brew --prefix)/bin/zsh >> /etc/shells"
2321
chsh -s $(brew --prefix)/bin/zsh "$USER"
2422

25-
ln -sf "$DOTFILES_DIR/bin/git-up" $(brew --prefix)/bin/
26-
ln -sf "$DOTFILES_DIR/bin/chktf" $(brew --prefix)/bin/
23+
ln -sf "$(PWD)/bin/git-up" $(brew --prefix)/bin/
24+
ln -sf "$(PWD)/bin/chktf" $(brew --prefix)/bin/
2725

2826
sh ./macos.sh
29-
fi
30-
31-
ln -sf "$DOTFILES_DIR/.zshrc" ~
32-
ln -sf "$DOTFILES_DIR/.gitconfig" ~
33-
ln -sf "$DOTFILES_DIR/.gitconfig-personal" ~
34-
ln -sf "$DOTFILES_DIR/.gitconfig-work" ~
35-
ln -sf "$DOTFILES_DIR/.tmux.conf" ~
36-
ln -sf "$DOTFILES_DIR/.vimrc" ~
37-
ln -sf "$DOTFILES_DIR/.ansible.cfg" ~
38-
ln -sf "$DOTFILES_DIR/.curlrc" ~
39-
ln -sf "$DOTFILES_DIR/.alias" ~
40-
ln -sf "$DOTFILES_DIR/.functions" ~
41-
ln -sf "$DOTFILES_DIR/config" ~/.ssh/
42-
ln -sf "$DOTFILES_DIR/.alacritty.toml" ~
43-
ln -sf "$DOTFILES_DIR/.ripgreprc" ~
4427

45-
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
46-
# git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting
47-
48-
# git clone https://github.com/hashivim/vim-terraform.git ~/.vim/pack/plugins/start/vim-terraform
49-
# git clone https://github.com/editorconfig/editorconfig-vim.git ~/.vim/pack/plugins/start/editorconfig-vim
50-
# git clone https://github.com/dracula/vim.git ~/.vim/pack/themes/start/dracula
51-
52-
# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins
28+
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
29+
fi
5330

54-
exit 0;
31+
ln -sf "$(PWD)/.zshrc" ~
32+
ln -sf "$(PWD)/.gitconfig" ~
33+
ln -sf "$(PWD)/.gitconfig-personal" ~
34+
ln -sf "$(PWD)/.gitconfig-work" ~
35+
ln -sf "$(PWD)/.tmux.conf" ~
36+
ln -sf "$(PWD)/.vimrc" ~
37+
ln -sf "$(PWD)/.curlrc" ~
38+
ln -sf "$(PWD)/.alias" ~
39+
ln -sf "$(PWD)/.functions" ~
40+
ln -sf "$(PWD)/config" ~/.ssh/
41+
ln -sf "$(PWD)/.alacritty.toml" ~
42+
ln -sf "$(PWD)/.ripgreprc" ~

0 commit comments

Comments
 (0)