ajout alias de maj sysup

désactive la souris dans nvim
installalation de oh my bash
main
Gil Portenseigne 2024-01-25 11:26:01 +01:00
parent a44935652a
commit 79bb45e5d7
4 changed files with 14 additions and 4 deletions

View File

@ -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"

View File

@ -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.

View File

@ -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

View File

@ -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