Merge branch 'master' of forge.o9.re:olivier/dotfiles
This commit is contained in:
		@@ -1 +1,6 @@
 | 
				
			|||||||
emulate sh -c '. ~/.profile'
 | 
					emulate sh -c '. ~/.profile'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Start X automatically
 | 
				
			||||||
 | 
					if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
 | 
				
			||||||
 | 
					  exec startx
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								.zshrc
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								.zshrc
									
									
									
									
									
								
							@@ -159,11 +159,6 @@ if [ ! $SSH_AGENT_PID ]; then
 | 
				
			|||||||
  fi;
 | 
					  fi;
 | 
				
			||||||
fi;
 | 
					fi;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Start X automatically
 | 
					 | 
				
			||||||
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
 | 
					 | 
				
			||||||
  exec startx
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Launch nvm possibilities (for javascript environment)
 | 
					# Launch nvm possibilities (for javascript environment)
 | 
				
			||||||
case $HOST in
 | 
					case $HOST in
 | 
				
			||||||
  lueur | baloo | sam)
 | 
					  lueur | baloo | sam)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,6 +9,8 @@ La première fois ça donne :
 | 
				
			|||||||
git init --bare $HOME/.dotfiles
 | 
					git init --bare $HOME/.dotfiles
 | 
				
			||||||
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
 | 
					alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
 | 
				
			||||||
dotfiles config --local status.showUntrackedFiles no
 | 
					dotfiles config --local status.showUntrackedFiles no
 | 
				
			||||||
 | 
					dotfiles remote add origin gitea@forge.o9.re:olivier/dotfiles.git
 | 
				
			||||||
 | 
					dotfiles push origin master
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
et on utilise la commande `dotfiles` (inclure dans .zshrc) pour ajouter des fichiers : 
 | 
					et on utilise la commande `dotfiles` (inclure dans .zshrc) pour ajouter des fichiers : 
 | 
				
			||||||
@@ -20,7 +22,7 @@ dotfiles add .zshrc
 | 
				
			|||||||
Les autres fois : 
 | 
					Les autres fois : 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
git clone --bare https://github.com/USERNAME/dotfiles.git $HOME/.dotfiles
 | 
					git clone --bare gitea@forge.o9.re:olivier/dotfiles.git $HOME/.dotfiles
 | 
				
			||||||
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
 | 
					alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
 | 
				
			||||||
dotfiles checkout
 | 
					dotfiles checkout
 | 
				
			||||||
source ~/.zshrc
 | 
					source ~/.zshrc
 | 
				
			||||||
@@ -45,6 +47,7 @@ D'autres viendront au fur et à mesure.
 | 
				
			|||||||
Sont nécessaires : 
 | 
					Sont nécessaires : 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  * colordiff
 | 
					  * colordiff
 | 
				
			||||||
 | 
					  * dino (pour XMPP) avec noto-fonts-emoji
 | 
				
			||||||
  * dunst
 | 
					  * dunst
 | 
				
			||||||
  * elinks
 | 
					  * elinks
 | 
				
			||||||
  * exa
 | 
					  * exa
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user