1
0
Fork 0
This commit is contained in:
Florian RICHER 2022-01-04 20:51:05 +01:00
parent 93675f81a9
commit 392fac949c
4 changed files with 10 additions and 9 deletions

5
.env
View file

@ -1,11 +1,12 @@
# CURRENT SELECTED CONFIGURATION
# Coming soon
# Available configuration (bash, zsh, fish)
SHELL=zsh
# SHELL=zsh
# Available configuration (awesome, i3)
WM=awesome
# Install neovim with custom configuration
WITH_NEOVIM=yes
WITH_LAZYGIT=yes

3
.gitignore vendored
View file

@ -1 +1,2 @@
configs/nvim/plugin/packer_compiled.lua
configs/nvim/plugin/packer_compiled.lua
configs/lazygit/state.yml

View file

@ -1,6 +0,0 @@
lastupdatecheck: 0
recentrepos:
- /home/florian/Documents/Repos/Perso/linux-conf
startuppopupversion: 5
customcommandshistory: []
hidecommandlog: false

View file

@ -8,6 +8,11 @@ if [[ "$WITH_NEOVIM" == 'yes' ]]; then
echo '[INFO] Neovim already installed'
fi
if [[ "$WITH_LAZYGIT" == 'yes' && ! -d "$HOME/.config/lazygit" ]]; then
ln -s "$CWD/configs/lazygit" "$HOME/.config/lazygit"
echo "[INFO] Neovim config linked with symbolic link : $CWD/configs/lazygit -> $HOME/.config/lazygit"
fi
if [[ ! -d "$HOME/.config/nvim" ]]; then
ln -s "$CWD/configs/nvim" "$HOME/.config/nvim"
echo "[INFO] Neovim config linked with symbolic link : $CWD/configs/nvim -> $HOME/.config/nvim"