Modifications 🐛

- config.fish mal téléchargé
- Code redondant + wget silencieux
- Installation de micro
This commit is contained in:
Mylloon 2022-03-30 23:38:08 +02:00
parent ec76ae0ba0
commit 2516e4494d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 9 additions and 8 deletions

View file

@ -31,7 +31,7 @@ then
mkdir "$HOME"/.ssh mkdir "$HOME"/.ssh
# Custom config.fish # Custom config.fish
rm "$HOME"/.config/fish/config.fish 2> /dev/null rm "$HOME"/.config/fish/config.fish 2> /dev/null
wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/config_manjaro.fish -P "$HOME"/.config/fish/config.fish wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/config_manjaro.fish -P "$HOME"/.config/fish/ -O config.fish
# Custom prompt shell (based on Base16 Eighties) # Custom prompt shell (based on Base16 Eighties)
rm "$HOME"/.config/fish/functions/fish_prompt.fish 2> /dev/null rm "$HOME"/.config/fish/functions/fish_prompt.fish 2> /dev/null
wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/functions/fish_prompt.fish -P "$HOME"/.config/fish/functions/ wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/functions/fish_prompt.fish -P "$HOME"/.config/fish/functions/

View file

@ -11,11 +11,10 @@ then
sudo apt full-upgrade -y sudo apt full-upgrade -y
# == Basic dev == # == Basic dev ==
sudo apt install build-essential git -y sudo apt install build-essential -y
# == Fish == # == Fish ==
sudo apt-add-repository ppa:fish-shell/release-3 -y sudo apt-add-repository ppa:fish-shell/release-3 -y
sudo apt update
sudo apt install fish fzf bat procps curl exa micro -y sudo apt install fish fzf bat procps curl exa micro -y
sudo snap install micro --classic sudo snap install micro --classic
# Remove motd # Remove motd
@ -25,14 +24,14 @@ then
fish -c "fisher install jethrokuan/fzf" fish -c "fisher install jethrokuan/fzf"
# SSH # SSH
rm "$HOME"/.config/fish/functions/fish_ssh_agent.fish 2>/dev/null rm "$HOME"/.config/fish/functions/fish_ssh_agent.fish 2>/dev/null
wget https://gitlab.com/kyb/fish_ssh_agent/raw/master/functions/fish_ssh_agent.fish -P "$HOME"/.config/fish/functions/ wget -q https://gitlab.com/kyb/fish_ssh_agent/raw/master/functions/fish_ssh_agent.fish -P "$HOME"/.config/fish/functions/
mkdir "$HOME"/.ssh mkdir "$HOME"/.ssh
# Custom config.fish # Custom config.fish
rm "$HOME"/.config/fish/config.fish 2>/dev/null rm "$HOME"/.config/fish/config.fish 2>/dev/null
wget https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/config_ubuntu.fish -P "$HOME"/.config/fish/config.fish wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/config_ubuntu.fish -P "$HOME"/.config/fish/ -O config.fish
# Custom prompt shell (based on Base16 Eighties) # Custom prompt shell (based on Base16 Eighties)
rm "$HOME"/.config/fish/functions/fish_prompt.fish 2>/dev/null rm "$HOME"/.config/fish/functions/fish_prompt.fish 2>/dev/null
wget https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/functions/fish_prompt.fish -P "$HOME"/.config/fish/functions/ wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/functions/fish_prompt.fish -P "$HOME"/.config/fish/functions/
fish -c 'set -U fish_color_normal normal' fish -c 'set -U fish_color_normal normal'
fish -c 'set -U fish_color_command 99cc99' fish -c 'set -U fish_color_command 99cc99'
fish -c 'set -U fish_color_quote ffcc66' fish -c 'set -U fish_color_quote ffcc66'

6
wsl.sh
View file

@ -17,7 +17,9 @@ then
# == Fish == # == Fish ==
sudo apt-add-repository ppa:fish-shell/release-3 -y sudo apt-add-repository ppa:fish-shell/release-3 -y
sudo apt install fish fzf bat procps exa micro -y sudo apt install fish fzf bat procps exa micro -y
sudo snap install micro --classic cd /usr/local/bin || exit
curl https://getmic.ro | sudo GETMICRO_PLATFORM=linux64 bash
cd - || exit
# Remove motd # Remove motd
fish -c "set -U fish_greeting" fish -c "set -U fish_greeting"
# Reversed search # Reversed search
@ -29,7 +31,7 @@ then
mkdir "$HOME"/.ssh mkdir "$HOME"/.ssh
# Custom config.fish # Custom config.fish
rm "$HOME"/.config/fish/config.fish 2>/dev/null rm "$HOME"/.config/fish/config.fish 2>/dev/null
wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/config_wsl.fish -P "$HOME"/.config/fish/config.fish wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/config_wsl.fish -P "$HOME"/.config/fish/ -O config.fish
# Custom prompt shell (based on Base16 Eighties) # Custom prompt shell (based on Base16 Eighties)
rm "$HOME"/.config/fish/functions/fish_prompt.fish 2>/dev/null rm "$HOME"/.config/fish/functions/fish_prompt.fish 2>/dev/null
wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/functions/fish_prompt.fish -P "$HOME"/.config/fish/functions/ wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/fish/functions/fish_prompt.fish -P "$HOME"/.config/fish/functions/