diff --git a/.config/bash/gil_specific.sh b/.config/bash/gil_specific.sh index ce200cb..c664421 100644 --- a/.config/bash/gil_specific.sh +++ b/.config/bash/gil_specific.sh @@ -15,6 +15,7 @@ alias ys="yadm status" alias yup="yadm pull --rebase" alias yp="yadm push" alias todo="vi ~/Nextcloud/TODO/todo.txt" +alias sysup="sudo apt update && sudo apt upgrade -y" alias k="kubectl" alias tp="ssh -L localhost:5488:emb-ofbiz-prep-ofbiz2-rds-encrypted.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon" diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index e11bb80..70221d5 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -252,7 +252,7 @@ vim.o.hlsearch = false vim.wo.number = true -- Enable mouse mode -vim.o.mouse = 'a' +vim.o.mouse = '' -- Sync clipboard between OS and Neovim. -- Remove this option if you want your OS clipboard to remain independent. diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 6492e6d..84ca347 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -2,6 +2,7 @@ set-option -g mouse off bind-key v copy-mode +set-option -g default-shell $SHELL setw -g mode-keys vi set-option -s set-clipboard off diff --git a/installSystem.sh b/installSystem.sh index 706aaf0..d345940 100644 --- a/installSystem.sh +++ b/installSystem.sh @@ -6,17 +6,25 @@ groups | grep -q sudo || return # sudo usermod -aG sudo $user # pour passer sudoers, puis reboot sudo apt remove vim-gtk3 vim vim-nox -sudo apt install -y cmake python3-tldextract uuid-runtime webext-browserpass webext-ublock-origin-firefox curl pass python3 ripgrep fonts-firacode fd-find tmux postgresql rsync nextcloud-desktop chromium tig locate htop libx11-dev libxinerama-dev libxft-dev libx11-xcb-dev libxcb-res0-dev arandr make gcc pulsemixer unclutter libnotify-bin ncal dmenu brightnessctl brightness-udev feh autorandr inkscape neomutt isync msmtp lynx notmuch abook urlview pulseaudio-utils mailsync slock bash-completion dunst +sudo apt install -y zsh cmake python3-tldextract uuid-runtime webext-browserpass webext-ublock-origin-firefox curl pass python3 ripgrep fonts-firacode fd-find tmux postgresql rsync nextcloud-desktop chromium tig locate htop libx11-dev libxinerama-dev libxft-dev libx11-xcb-dev libxcb-res0-dev arandr make gcc pulsemixer unclutter libnotify-bin ncal dmenu brightnessctl brightness-udev feh autorandr inkscape neomutt isync msmtp lynx notmuch abook urlview pulseaudio-utils mailsync slock bash-completion dunst sudo apt autoremove [ ! -f "$HOME/.local/bin/fd" ] && ln -s $(which fdfind) ~/.local/bin/fd [ ! -f "$HOME/.local/bin/nvim.appimage" ] && wget --output-document $HOME/.local/bin/nvim.appimage https://github.com/neovim/neovim/releases/download/stable/nvim.appimage && chmod +x $HOME/.local/bin/nvim.appimage # Installation oh my bash -[ ! -d "$HOME/.oh-my-bash/" ] && bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" || echo "oh-my-bash installed" +#[ ! -d "$HOME/.oh-my-bash/" ] && bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" || echo "oh-my-bash installed" # Installation config specif bash + aliases -grep -q "gil_specific" "$HOME/.bashrc" && echo "Bash configured" || sed -i -e '$asource "$HOME/.config/bash/gil_specific.sh"\' $HOME/.bashrc +#grep -q "gil_specific" "$HOME/.bashrc" && echo "Bash configured" || sed -i -e '$asource "$HOME/.config/bash/gil_specific.sh"\' $HOME/.bashrc + +# Installation oh my zsh +[ ! -d "$HOME/.oh-my-zsh/" ] && bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" || echo "oh-my-zsh installed" +#sudo chsh -s /bin/zsh $USER + +# Installation config specif bash + aliases +grep -q "gil_specific" "$HOME/.zshrc" && echo "Zshsh configured" || sed -i -e '$asource "$HOME/.config/bash/gil_specific.sh"\' $HOME/.zshrc + # Installation sdkman [ ! -d "$HOME/.sdkman/" ] && curl -s "https://get.sdkman.io" | bash