use just
This commit is contained in:
		
							parent
							
								
									c30aa00bc3
								
							
						
					
					
						commit
						1b9e34b141
					
				
					 34 changed files with 56 additions and 16 deletions
				
			
		
							
								
								
									
										1
									
								
								.ignore
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								.ignore
									
									
									
									
									
								
							| 
						 | 
					@ -1 +0,0 @@
 | 
				
			||||||
!.config/
 | 
					 | 
				
			||||||
							
								
								
									
										1
									
								
								.stowrc
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								.stowrc
									
									
									
									
									
								
							| 
						 | 
					@ -1 +0,0 @@
 | 
				
			||||||
target=~/
 | 
					 | 
				
			||||||
							
								
								
									
										50
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										50
									
								
								README.md
									
									
									
									
									
								
							| 
						 | 
					@ -1,20 +1,42 @@
 | 
				
			||||||
### Configurations
 | 
					## Configurations
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- [Neovim Nightly](https://github.com/neovim/neovim)
 | 
					- [Neovim Nightly](https://github.com/neovim/neovim)
 | 
				
			||||||
- [Kitty](https://github.com/kovidgoyal/kitty)
 | 
					- ~[Kitty](https://github.com/kovidgoyal/kitty)~ Replaced by wezterm
 | 
				
			||||||
 | 
					- [Wezterm](https://github.com/wez/wezterm)
 | 
				
			||||||
- [Fish Shell](https://github.com/fish-shell/fish-shell)
 | 
					- [Fish Shell](https://github.com/fish-shell/fish-shell)
 | 
				
			||||||
- [tmux](https://github.com/tmux/tmux)
 | 
					- More
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Recommended
 | 
					## Fonts
 | 
				
			||||||
- [ripgrep (rg)](https://github.com/BurntSushi/ripgrep)
 | 
					 | 
				
			||||||
- [exa](https://github.com/ogham/exa)
 | 
					 | 
				
			||||||
- [zoxide](https://github.com/ajeetdsouza/zoxide)
 | 
					 | 
				
			||||||
- [starship](https://github.com/starship/starship)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
**Usage:**
 | 
					You will have to install the fonts I use in these dotfiles separately
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Use [stow](https://www.gnu.org/software/stow/) to manage your symlinks.
 | 
					- [ttf-jetbrains-mono-nerd](https://github.com/ryanoasis/nerd-fonts)
 | 
				
			||||||
- `git clone https://github.com/esprssoo/dotfiles.git && cd dotfiles`
 | 
					
 | 
				
			||||||
- Run `stow {package}` to enable the configuration for any package you
 | 
					## Programs used
 | 
				
			||||||
  like, where `{package}` is one of the directories in the git repository.
 | 
					
 | 
				
			||||||
- Run `stow -D {package}` to disable the package.
 | 
					- [ripgrep](https://github.com/BurntSushi/ripgrep) (used by nvim)
 | 
				
			||||||
 | 
					- [exa](https://github.com/ogham/exa) (ls replacement used by fish)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Usage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Clone the repository (e.g into `~/.dotfiles`)
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					git clone https://git.papadakis.xyz/dotfiles/ ~/.dotfiles
 | 
				
			||||||
 | 
					cd ~/dotfiles
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- For automated dotfile linking use [just](https://github.com/casey/just)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					just add fish
 | 
				
			||||||
 | 
					just add nvim
 | 
				
			||||||
 | 
					just add wezterm
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Or, manually link the directory you need
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					ln -s ~/.dotfiles/fish ~/.config/fish
 | 
				
			||||||
 | 
					ln -s ~/.dotfiles/nvim ~/.config/nvim
 | 
				
			||||||
 | 
					ln -s ~/.dotfiles/wezterm ~/.config/wezterm
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										14
									
								
								justfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								justfile
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,14 @@
 | 
				
			||||||
 | 
					add target:
 | 
				
			||||||
 | 
					    #!/bin/env sh
 | 
				
			||||||
 | 
					    target={{trim_end_matches(target, '/')}}
 | 
				
			||||||
 | 
					    find $target -mindepth 1 | while read p
 | 
				
			||||||
 | 
					    do
 | 
				
			||||||
 | 
					        t=~/`echo -n $p | sed "s/^$target\///" | sed s/dot-/./g`
 | 
				
			||||||
 | 
					        s="{{justfile_directory()}}/$p"
 | 
				
			||||||
 | 
					        if ( ! test -e $t ); then
 | 
				
			||||||
 | 
					            echo "Linking $t -> $s"
 | 
				
			||||||
 | 
					            ln -s $s $t
 | 
				
			||||||
 | 
					        fi
 | 
				
			||||||
 | 
					    done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# vim: set ft=sh :
 | 
				
			||||||
							
								
								
									
										6
									
								
								wezterm/dot-config/wezterm/wezterm.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								wezterm/dot-config/wezterm/wezterm.lua
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					local wezterm = require 'wezterm'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					return {
 | 
				
			||||||
 | 
					    font = wezterm.font 'JetBrainsMono Nerd Font Mono',
 | 
				
			||||||
 | 
					    color_scheme = 'Catppuccin Macchiato',
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in a new issue