Modifications 🐛
- config.fish mal téléchargé - Code redondant + wget silencieux - Installation de micro
This commit is contained in:
parent
ec76ae0ba0
commit
2516e4494d
3 changed files with 9 additions and 8 deletions
|
@ -31,7 +31,7 @@ then
|
|||
mkdir "$HOME"/.ssh
|
||||
# Custom config.fish
|
||||
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)
|
||||
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/
|
||||
|
|
|
@ -11,11 +11,10 @@ then
|
|||
sudo apt full-upgrade -y
|
||||
|
||||
# == Basic dev ==
|
||||
sudo apt install build-essential git -y
|
||||
sudo apt install build-essential -y
|
||||
|
||||
# == Fish ==
|
||||
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 snap install micro --classic
|
||||
# Remove motd
|
||||
|
@ -25,14 +24,14 @@ then
|
|||
fish -c "fisher install jethrokuan/fzf"
|
||||
# SSH
|
||||
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
|
||||
# Custom config.fish
|
||||
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)
|
||||
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_command 99cc99'
|
||||
fish -c 'set -U fish_color_quote ffcc66'
|
||||
|
|
6
wsl.sh
6
wsl.sh
|
@ -17,7 +17,9 @@ then
|
|||
# == Fish ==
|
||||
sudo apt-add-repository ppa:fish-shell/release-3 -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
|
||||
fish -c "set -U fish_greeting"
|
||||
# Reversed search
|
||||
|
@ -29,7 +31,7 @@ then
|
|||
mkdir "$HOME"/.ssh
|
||||
# Custom config.fish
|
||||
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)
|
||||
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/
|
||||
|
|
Loading…
Reference in a new issue