Compare commits
	
		
			2 Commits
		
	
	
		
			a71137b234
			...
			87e9ca79c2
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 87e9ca79c2 | |||
| 44f048b06e | 
							
								
								
									
										24
									
								
								config.bash
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								config.bash
									
									
									
									
									
								
							@@ -1,11 +1,5 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
for file in config.d/*.bash
 | 
					 | 
				
			||||||
do
 | 
					 | 
				
			||||||
  bash $file
 | 
					 | 
				
			||||||
done
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Configuration BASH
 | 
					# Configuration BASH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [[ ! -d ~/.bash ]]
 | 
					if [[ ! -d ~/.bash ]]
 | 
				
			||||||
@@ -14,18 +8,8 @@ then
 | 
				
			|||||||
    bash ~/.bash/create-links.bash
 | 
					    bash ~/.bash/create-links.bash
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Configuration VIM
 | 
					for file in config.d/*.bash
 | 
				
			||||||
 | 
					do
 | 
				
			||||||
 | 
					  bash $file
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [[ ! -d ~/.vim ]]
 | 
					 | 
				
			||||||
then
 | 
					 | 
				
			||||||
    git clone --recursive https://github.com/xlogerais/config-vim.git ~/.vim
 | 
					 | 
				
			||||||
    bash ~/.vim/create-links.bash
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Configuration NVIM
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if [[ ! -d ~/.config/nvim ]]
 | 
					 | 
				
			||||||
then
 | 
					 | 
				
			||||||
    git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
 | 
					 | 
				
			||||||
    nvim +PackerSync
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										10
									
								
								config.d/nvim.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								config.d/nvim.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Configuration NVIM
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [[ ! -d ~/.config/nvim ]]
 | 
				
			||||||
 | 
					then
 | 
				
			||||||
 | 
					    git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
 | 
				
			||||||
 | 
					    nvim +PackerSync
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										11
									
								
								config.d/vim.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								config.d/vim.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Configuration VIM
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [[ ! -d ~/.vim ]]
 | 
				
			||||||
 | 
					then
 | 
				
			||||||
 | 
					    git clone --recursive https://github.com/xlogerais/config-vim.git ~/.vim
 | 
				
			||||||
 | 
					    bash ~/.vim/create-links.bash
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										49
									
								
								tools.bash
									
									
									
									
									
								
							
							
						
						
									
										49
									
								
								tools.bash
									
									
									
									
									
								
							@@ -1,51 +1,6 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install asdf
 | 
					for file in tools.d/*.bash
 | 
				
			||||||
 | 
					 | 
				
			||||||
test -d $HOME/.asdf || git clone https://github.com/asdf-vm/asdf.git $HOME/.asdf
 | 
					 | 
				
			||||||
source $HOME/.asdf/asdf.sh
 | 
					 | 
				
			||||||
source $HOME/.asdf/completions/asdf.bash
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Install plugins and tools
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
declare -a tools
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
tools+=(shellcheck)
 | 
					 | 
				
			||||||
tools+=(direnv)
 | 
					 | 
				
			||||||
tools+=(lazygit)
 | 
					 | 
				
			||||||
tools+=(jq yq)
 | 
					 | 
				
			||||||
tools+=(kubectl helm k9s)
 | 
					 | 
				
			||||||
tools+=(vault)
 | 
					 | 
				
			||||||
tools+=(terraform terragrunt)
 | 
					 | 
				
			||||||
tools+=(ripgrep exa bat dust delta)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
for tool in "${tools[@]}"
 | 
					 | 
				
			||||||
do
 | 
					do
 | 
				
			||||||
    echo
 | 
					  bash $file
 | 
				
			||||||
    echo "-- Installing ${tool}"
 | 
					 | 
				
			||||||
    asdf plugin add ${tool}
 | 
					 | 
				
			||||||
    asdf install ${tool} latest
 | 
					 | 
				
			||||||
    asdf global ${tool} latest
 | 
					 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					 | 
				
			||||||
# Mcfly
 | 
					 | 
				
			||||||
echo
 | 
					 | 
				
			||||||
echo "-- Installing mcfly"
 | 
					 | 
				
			||||||
asdf plugin add mcfly https://github.com/barolab/asdf-mcfly.git
 | 
					 | 
				
			||||||
asdf install mcfly latest
 | 
					 | 
				
			||||||
asdf global mcfly latest
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# lsd
 | 
					 | 
				
			||||||
echo
 | 
					 | 
				
			||||||
echo "-- Installing lsd"
 | 
					 | 
				
			||||||
asdf plugin add lsd https://github.com/argylelabcoat/asdf-lsd.git
 | 
					 | 
				
			||||||
asdf install lsd latest
 | 
					 | 
				
			||||||
asdf global lsd latest
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
test -d ~/.local/bin || mkdir -p ~/.local/bin
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# broot
 | 
					 | 
				
			||||||
test -x ~/.local/bin/broot || wget -O ~/.local/bin/broot "https://dystroy.org/broot/download/x86_64-linux/broot"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# powerline-go
 | 
					 | 
				
			||||||
test -x ~/.local/bin/powerline-go || wget -O ~/.local/bin/powerline-go "https://github.com/justjanne/powerline-go/releases/latest/download/powerline-go-linux-amd64" && chmod +x ~/.local/bin/powerline-go
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										45
									
								
								tools.d/asdf.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								tools.d/asdf.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Install asdf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					test -d $HOME/.asdf || git clone https://github.com/asdf-vm/asdf.git $HOME/.asdf
 | 
				
			||||||
 | 
					source $HOME/.asdf/asdf.sh
 | 
				
			||||||
 | 
					source $HOME/.asdf/completions/asdf.bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Install plugins and tools
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					declare -a tools
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					tools+=(shellcheck)
 | 
				
			||||||
 | 
					tools+=(direnv)
 | 
				
			||||||
 | 
					tools+=(lazygit)
 | 
				
			||||||
 | 
					tools+=(jq yq)
 | 
				
			||||||
 | 
					tools+=(kubectl helm k9s)
 | 
				
			||||||
 | 
					tools+=(vault)
 | 
				
			||||||
 | 
					tools+=(terraform terragrunt)
 | 
				
			||||||
 | 
					tools+=(ripgrep exa bat dust delta)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					for tool in "${tools[@]}"
 | 
				
			||||||
 | 
					do
 | 
				
			||||||
 | 
					    echo
 | 
				
			||||||
 | 
					    echo "-- Installing ${tool}"
 | 
				
			||||||
 | 
					    asdf plugin add ${tool}
 | 
				
			||||||
 | 
					    asdf install ${tool} latest
 | 
				
			||||||
 | 
					    asdf global ${tool} latest
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Install extra plugins and tools
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# lsd
 | 
				
			||||||
 | 
					echo
 | 
				
			||||||
 | 
					echo "-- Installing lsd"
 | 
				
			||||||
 | 
					asdf plugin add lsd https://github.com/argylelabcoat/asdf-lsd.git
 | 
				
			||||||
 | 
					asdf install lsd latest
 | 
				
			||||||
 | 
					asdf global lsd latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Mcfly
 | 
				
			||||||
 | 
					echo
 | 
				
			||||||
 | 
					echo "-- Installing mcfly"
 | 
				
			||||||
 | 
					asdf plugin add mcfly https://github.com/barolab/asdf-mcfly.git
 | 
				
			||||||
 | 
					asdf install mcfly latest
 | 
				
			||||||
 | 
					asdf global mcfly latest
 | 
				
			||||||
							
								
								
									
										5
									
								
								tools.d/broot.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								tools.d/broot.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# broot
 | 
				
			||||||
 | 
					test -d ~/.local/bin || mkdir -p ~/.local/bin
 | 
				
			||||||
 | 
					test -x ~/.local/bin/broot || wget -O ~/.local/bin/broot "https://dystroy.org/broot/download/x86_64-linux/broot"
 | 
				
			||||||
							
								
								
									
										6
									
								
								tools.d/powerline.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								tools.d/powerline.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# powerline-go
 | 
				
			||||||
 | 
					test -x ~/.local/bin/powerline-go \
 | 
				
			||||||
 | 
					  || wget -O ~/.local/bin/powerline-go "https://github.com/justjanne/powerline-go/releases/latest/download/powerline-go-linux-amd64" \
 | 
				
			||||||
 | 
					  && chmod +x ~/.local/bin/powerline-go
 | 
				
			||||||
		Reference in New Issue
	
	Block a user