mirror of https://github.com/einverne/dotfiles.git
				
				
			
				 8 changed files with 39 additions and 7 deletions
			
			
		@ -12,6 +12,17 @@ Set up using dotbot: | 
				
			|||||||
	# under macOS | 
						# under macOS | 
				
			||||||
	make macos | 
						make macos | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Termux setup | 
				
			||||||
 | 
					Install dependency first: | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						pkg install make python vim git | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					then: | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						git clone [email protected]:einverne/dotfiles.git | 
				
			||||||
 | 
						cd dotfiles | 
				
			||||||
 | 
						make termux | 
				
			||||||
 | 
					
 | 
				
			||||||
## Overview | 
					## Overview | 
				
			||||||
 | 
					
 | 
				
			||||||
- using [dotbot](https://github.com/anishathalye/dotbot/) to manage dotfiles, [read more](https://blog.einverne.info/post/2020/08/use-dotbot-dotfiles-management.html) | 
					- using [dotbot](https://github.com/anishathalye/dotbot/) to manage dotfiles, [read more](https://blog.einverne.info/post/2020/08/use-dotbot-dotfiles-management.html) | 
				
			||||||
 | 
				
			|||||||
@ -0,0 +1,19 @@ | 
				
			|||||||
 | 
					- shell: | 
				
			||||||
 | 
					  - description: Clone zinit | 
				
			||||||
 | 
					    quiet: true | 
				
			||||||
 | 
					    command: | | 
				
			||||||
 | 
					      if cd ~/.zinit/bin; | 
				
			||||||
 | 
					      then git pull; | 
				
			||||||
 | 
					      else git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin; fi | 
				
			||||||
 | 
					  - termux-setup-storage | 
				
			||||||
 | 
					  - termux-reload-settings | 
				
			||||||
 | 
					  - description: backup .termux | 
				
			||||||
 | 
					    command: | | 
				
			||||||
 | 
					      mv "$HOME/.termux" "$HOME/.termux.bak.$(date +%Y.%m.%d-%H:%M:%S)" | 
				
			||||||
 | 
					  - description: install tools | 
				
			||||||
 | 
					    command: | | 
				
			||||||
 | 
					      pkg install -y libcurl wget curl openssh vim git zsh unrar unzip less tree htop tsu neofetch | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- link: | 
				
			||||||
 | 
					    ~/.termux: | 
				
			||||||
 | 
					      path: termux/.termux | 
				
			||||||
@ -0,0 +1 @@ | 
				
			|||||||
 | 
					extra-keys = [['ESC','/','|','HOME','UP','END','PGUP'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']] | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue