Merge branch 'master' of forge.o9.re:olivier/dotfiles

vif
Olivier DOSSMANN 2019-10-17 16:52:06 +02:00
commit 890dbc42f5
4 changed files with 10 additions and 6 deletions

1
.nvmrc 100644
View File

@ -0,0 +1 @@
10.16.3

View File

@ -1 +1,6 @@
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
View File

@ -159,11 +159,6 @@ if [ ! $SSH_AGENT_PID ]; then
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)
case $HOST in
lueur | baloo | sam)

View File

@ -9,6 +9,8 @@ La première fois ça donne :
git init --bare $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
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 :
@ -20,7 +22,7 @@ dotfiles add .zshrc
Les autres fois :
```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'
dotfiles checkout
source ~/.zshrc
@ -45,6 +47,7 @@ D'autres viendront au fur et à mesure.
Sont nécessaires :
* colordiff
* dino (pour XMPP) avec noto-fonts-emoji
* dunst
* elinks
* exa