2019-10-14 19:11:32 +00:00
|
|
|
|
#!/usr/bin/fish
|
2019-11-23 17:31:56 +00:00
|
|
|
|
yadm decrypt
|
|
|
|
|
|
2019-10-20 23:22:46 +00:00
|
|
|
|
set keyboardconf \
|
|
|
|
|
'Section "InputClass"
|
|
|
|
|
Identifier "system-keyboard"
|
|
|
|
|
MatchIsKeyboard "on"
|
2020-07-17 14:56:22 +00:00
|
|
|
|
Option "XkbLayout" "fr"
|
2019-10-20 23:22:46 +00:00
|
|
|
|
Option "XkbModel" "pc104"
|
2020-07-17 14:56:22 +00:00
|
|
|
|
Option "XkbVariant" "bepo_afnor"
|
|
|
|
|
Option "XkbOptions" "caps:ctrl_modifier"
|
2019-10-20 23:22:46 +00:00
|
|
|
|
EndSection'
|
|
|
|
|
|
|
|
|
|
printf "\n# Set keyboard layout #########################################################\n\n"
|
|
|
|
|
echo $keyboardconf | sudo tee /etc/X11/xorg.conf.d/00-keyboard.conf
|
|
|
|
|
|
|
|
|
|
set mylocales "en_US.UTF-8 UTF-8" "fr_FR.UTF-8 UTF-8" "ja_JP.UTF-8 UTF-8"
|
|
|
|
|
|
2020-02-22 10:56:46 +00:00
|
|
|
|
printf "\n# Set locale ##################################################################\n\n"
|
2019-10-20 23:22:46 +00:00
|
|
|
|
for item in $mylocales
|
|
|
|
|
if test (grep -e "#$item" /etc/locale.gen)
|
|
|
|
|
sudo sed -i "/$item/s/^#//g" /etc/locale.gen
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
set localeconf "LANG=en_US.UTF-8
|
|
|
|
|
LC_COLLATE=C
|
|
|
|
|
LC_NAME=fr_FR.UTF-8
|
|
|
|
|
LC_NUMERIC=fr_FR.UTF-8
|
|
|
|
|
LC_IDENTIFICATION=fr_FR.UTF-8
|
|
|
|
|
LC_TELEPHONE=fr_FR.UTF-8
|
|
|
|
|
LC_MONETARY=fr_FR.UTF-8
|
|
|
|
|
LC_PAPER=fr_FR.UTF-8
|
|
|
|
|
LC_ADDRESS=fr_FR.UTF-8
|
|
|
|
|
LC_TIME=fr_FR.UTF-8
|
|
|
|
|
LC_MEASUREMENT=fr_FR.UTF-8"
|
|
|
|
|
|
|
|
|
|
echo $localeconf | sudo tee /etc/locale.conf
|
|
|
|
|
|
|
|
|
|
printf "\n# Generate locale #############################################################\n\n"
|
|
|
|
|
sudo locale-gen
|
|
|
|
|
|
|
|
|
|
printf "\n# Create directories for mounting #############################################\n\n"
|
|
|
|
|
sudo mkdir -p /mnt/{USB,CD,Android}
|
|
|
|
|
sudo chown $USER:(id -g $USER) /mnt/{USB,CD,Android}
|
2019-10-14 19:11:32 +00:00
|
|
|
|
|
2019-10-21 11:06:10 +00:00
|
|
|
|
mkdir -p $HOME/.cache/nano/backups
|
|
|
|
|
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Set fish as the default shell ###############################################\n\n"
|
2020-02-17 15:26:12 +00:00
|
|
|
|
if not test "$SHELL" = "/usr/bin/fish"
|
|
|
|
|
chsh -s /usr/bin/fish
|
|
|
|
|
end
|
2019-10-14 20:00:45 +00:00
|
|
|
|
|
2019-11-23 17:31:56 +00:00
|
|
|
|
if ! test (which yay)
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Installing yay ##############################################################\n\n"
|
2019-10-14 19:11:32 +00:00
|
|
|
|
cd
|
2020-02-17 15:12:57 +00:00
|
|
|
|
mkdir -p ~/fromGIT
|
|
|
|
|
cd ~/fromGIT
|
2019-10-14 19:11:32 +00:00
|
|
|
|
git clone https://aur.archlinux.org/yay.git
|
|
|
|
|
cd yay
|
|
|
|
|
makepkg -si --noconfirm
|
|
|
|
|
else
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# yay already installed #######################################################\n\n"
|
2019-10-14 19:11:32 +00:00
|
|
|
|
end
|
|
|
|
|
|
2020-01-15 17:58:27 +00:00
|
|
|
|
set PACKAGES \
|
2020-05-17 20:21:13 +00:00
|
|
|
|
acpilight adobe-source-han-sans-jp-fonts arc-gtk-theme asar ascii aspell-en \
|
|
|
|
|
aspell-fr awesome awesome-terminal-fonts awesome-freedesktop-git base-devel \
|
2020-07-11 16:07:11 +00:00
|
|
|
|
bashtop bat biber bitwarden-bin bluez-firmware bluez-utils bookworm bzip2 \
|
2020-05-28 10:05:36 +00:00
|
|
|
|
chicken chromium clisp corrupter-git cppcheck cppreference \
|
2020-08-24 12:45:58 +00:00
|
|
|
|
cppreference-devhelp cpupower discord-canary discount docker docker-compose \
|
|
|
|
|
dockerfile-language-server-bin doxygen emacs emacs-org-mode exa exfat-utils \
|
|
|
|
|
farbfeld fd ffmpegthumbnailer findutils firefox flake8 flat-remix-gtk freeglut \
|
|
|
|
|
fzf gcc-libs gdb gimp gnome-disk-utility gnome-epub-thumbnailer gnu-free-fonts \
|
|
|
|
|
gnuplot go go-tools golangci-lint-bin graphviz htop i3lock-color inetutils \
|
|
|
|
|
isync inter-font javascript-typescript-langserver js-beautify jfsutils jmtpfs \
|
|
|
|
|
lain-git libxft-bgra linux-headers lldb logrotate ly meson minted man-db \
|
2020-05-28 10:05:36 +00:00
|
|
|
|
man-pages mpc mpd mpd-rich-presence-discord-git mpv mupdf-tools nano ncdu \
|
|
|
|
|
ncmpcpp nemo-fileroller nemo-preview neofetch netctl networkmanager \
|
2020-05-17 20:21:13 +00:00
|
|
|
|
networkmanager-openvpn nitrogen nm-connection-editor nodejs-vmd nomacs \
|
2020-08-24 12:45:58 +00:00
|
|
|
|
nordic-theme-git nordvpn-bin noto-fonts-emoji npm ntfs-3g numlockx obs-studio \
|
|
|
|
|
openssh otf-fandol otf-ipafont p7zip pacman-contrib pandoc-bin pass \
|
|
|
|
|
pavucontrol pdfpc picom-ibhagwan-git powerline-fonts prettier \
|
|
|
|
|
pulseaudio-bluetooth python-autoflake python-envtpl-git python-epc \
|
|
|
|
|
python-importmagic python-language-server python-nose python-pip python-ptvsd \
|
|
|
|
|
python-pytest qt5-imageformats qemu r raw-thumbnailer reflector ripgrep rofi \
|
2020-05-17 20:21:13 +00:00
|
|
|
|
rsync rtv ruby-rb-fsevent ruby-sass rustup samba scrot sent shadow siji-git \
|
|
|
|
|
simplescreenrecorder sshfs st-luke-git sxiv texlive-bin texlive-langchinese \
|
|
|
|
|
texlive-langcyrillic texlive-langgreek texlive-langjapanese texlive-langkorean \
|
|
|
|
|
texlive-latexextra texlive-localmanager-git texlive-most tmux tree \
|
2020-05-28 10:05:36 +00:00
|
|
|
|
ttf-arphic-uming ttf-baekmuk ttf-charis-sil ttf-dejavu \
|
|
|
|
|
ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels ttf-koruri \
|
|
|
|
|
ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine typescript \
|
|
|
|
|
typescript-language-server-bin unicode-emoji unrar usbutils valgrind \
|
|
|
|
|
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \
|
|
|
|
|
x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \
|
|
|
|
|
xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf zeal
|
2019-10-20 23:22:46 +00:00
|
|
|
|
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Installing needed packages ##################################################\n\n"
|
2019-11-23 18:01:37 +00:00
|
|
|
|
sudo pacman -Syu
|
2020-02-17 19:28:40 +00:00
|
|
|
|
for pkg in $PACKAGES
|
|
|
|
|
yay -S --needed $pkg
|
|
|
|
|
end
|
2019-10-14 19:11:32 +00:00
|
|
|
|
|
2020-05-17 18:16:56 +00:00
|
|
|
|
mkdir -p $HOME/.config/awesome
|
|
|
|
|
mkdir -p $HOME/.config/awesome/theme
|
|
|
|
|
mkdir -p $HOME/.config/emacs/private
|
|
|
|
|
mkdir -p $HOME/.config/fish
|
|
|
|
|
mkdir -p $HOME/.config/gtk-2.0
|
|
|
|
|
mkdir -p $HOME/.config/gtk-3.0
|
|
|
|
|
mkdir -p $HOME/.config/ncmpcpp
|
|
|
|
|
mkdir -p $HOME/.config/neofetch
|
|
|
|
|
mkdir -p $HOME/.config/picom
|
|
|
|
|
mkdir -p $HOME/.config/yadm
|
|
|
|
|
mkdir -p $HOME/.local/bin
|
|
|
|
|
mkdir -p $HOME/org/capture
|
|
|
|
|
|
2020-01-30 13:06:46 +00:00
|
|
|
|
printf "\n# Tangling org files ##########################################################\n\n"
|
2020-05-17 18:02:45 +00:00
|
|
|
|
printf '\n\n==== Tangling awesome.org\n\n' && \
|
|
|
|
|
emacs -q --batch --eval '(require \'ob-tangle)' \
|
|
|
|
|
--eval '(setq org-confirm-babel-evaluate nil)' \
|
|
|
|
|
--eval '(org-babel-tangle-file "~/org/config/awesome.org")'
|
|
|
|
|
|
2020-03-15 18:21:43 +00:00
|
|
|
|
printf '\n\n==== Tangling bin.org\n\n' && \
|
|
|
|
|
emacs -q --batch --eval '(require \'ob-tangle)' \
|
|
|
|
|
--eval '(setq org-confirm-babel-evaluate nil)' \
|
|
|
|
|
--eval '(org-babel-tangle-file "~/org/config/bin.org")'
|
|
|
|
|
|
|
|
|
|
printf '\n\n==== Tangling fish.org\n\n' && \
|
|
|
|
|
emacs -q --batch --eval '(require \'ob-tangle)' \
|
|
|
|
|
--eval '(setq org-confirm-babel-evaluate nil)' \
|
|
|
|
|
--eval '(org-babel-tangle-file "~/org/config/fish.org")'
|
|
|
|
|
|
|
|
|
|
printf '\n\n==== Tangling index.org\n\n' && \
|
|
|
|
|
emacs -q --batch --eval '(require \'ob-tangle)' \
|
|
|
|
|
--eval '(setq org-confirm-babel-evaluate nil)' \
|
|
|
|
|
--eval '(org-babel-tangle-file "~/org/config/index.org")'
|
|
|
|
|
|
2020-05-17 18:02:45 +00:00
|
|
|
|
printf '\n\n==== Tangling picom.org\n\n' && \
|
|
|
|
|
emacs -q --batch --eval '(require \'ob-tangle)' \
|
|
|
|
|
--eval '(setq org-confirm-babel-evaluate nil)' \
|
|
|
|
|
--eval '(org-babel-tangle-file "~/org/config/picom.org")'
|
|
|
|
|
|
|
|
|
|
printf '\n\n==== Tangling rustfmt.org\n\n' && \
|
|
|
|
|
emacs -q --batch --eval '(require \'ob-tangle)' \
|
|
|
|
|
--eval '(setq org-confirm-babel-evaluate nil)' \
|
|
|
|
|
--eval '(org-babel-tangle-file "~/org/config/rustfmt.org")'
|
|
|
|
|
|
2020-03-15 18:21:43 +00:00
|
|
|
|
printf '\n\n==== Tangling spacemacs.org\n\n' && \
|
|
|
|
|
emacs -q --batch --eval '(require \'ob-tangle)' \
|
|
|
|
|
--eval '(setq org-confirm-babel-evaluate nil)' \
|
|
|
|
|
--eval '(org-babel-tangle-file "~/org/config/spacemacs.org")'
|
|
|
|
|
|
|
|
|
|
printf '\n\n==== Tangling tmux.org\n\n' && \
|
|
|
|
|
emacs -q --batch --eval '(require \'ob-tangle)' \
|
|
|
|
|
--eval '(setq org-confirm-babel-evaluate nil)' \
|
|
|
|
|
--eval '(org-babel-tangle-file "~/org/config/tmux.org")'
|
2020-01-30 13:06:46 +00:00
|
|
|
|
|
|
|
|
|
find ~/.local/bin -type f -exec chmod +x {} +
|
|
|
|
|
|
2019-11-23 17:31:56 +00:00
|
|
|
|
printf "\n# Installing Spacemacs ########################################################\n\n"
|
2020-02-16 22:41:28 +00:00
|
|
|
|
rm -rf ~/.config/emacs
|
2019-11-23 17:31:56 +00:00
|
|
|
|
|
2020-02-16 22:41:28 +00:00
|
|
|
|
git clone --single-branch --branch develop https://github.com/syl20bnr/spacemacs ~/.config/emacs
|
2019-11-23 17:31:56 +00:00
|
|
|
|
|
2020-02-16 22:41:28 +00:00
|
|
|
|
yadm checkout -- ~/.config/emacs/private/
|
2019-11-23 17:31:56 +00:00
|
|
|
|
|
|
|
|
|
if ! test (echo "phundrak" | sed -e "s/^.*$USER//I")
|
|
|
|
|
|
|
|
|
|
printf "\n# Update yadm’s remotes #######################################################\n\n"
|
|
|
|
|
yadm remote set-url origin git@labs.phundrak.com:phundrak/dotfiles.git
|
|
|
|
|
yadm remote add github git@github.com:phundrak/dotfiles.git
|
|
|
|
|
|
|
|
|
|
printf "\n# Decrypt encrypted dotfiles ##################################################\n\n"
|
|
|
|
|
yadm decrypt
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
printf '\n# Install envtpl ##############################################################\n\n'
|
2020-02-17 15:30:44 +00:00
|
|
|
|
yay -Syu --needed python-envtpl-git
|
2019-11-23 17:31:56 +00:00
|
|
|
|
|
|
|
|
|
printf "\n# Getting yadm susbmodules ####################################################\n\n"
|
|
|
|
|
yadm submodule update --init --recursive
|
|
|
|
|
|
2020-02-22 11:57:06 +00:00
|
|
|
|
printf "\n# Enabling timesync ###########################################################\n\n"
|
|
|
|
|
sudo systemctl enable --now systemd-timesyncd
|
|
|
|
|
|
|
|
|
|
sudo timedatectl set-ntp true
|
|
|
|
|
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Enabling and starting Docker ################################################\n\n"
|
2019-10-14 19:11:32 +00:00
|
|
|
|
sudo systemctl enable --now docker
|
2019-10-20 23:22:46 +00:00
|
|
|
|
|
|
|
|
|
read --prompt "echo 'Do you wish to be added to the `docker` group? (Y/n): ' " -l adddockergroup
|
|
|
|
|
if test $adddockergroup = 'y' || test $adddockergroup = "Y" || test $adddockergroup = ''
|
|
|
|
|
sudo usermod -aG docker $USER
|
|
|
|
|
end
|
|
|
|
|
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Enabling Emacs as user service ##############################################\n\n"
|
2019-10-14 19:11:32 +00:00
|
|
|
|
systemctl --user enable --now emacs
|
|
|
|
|
|
2020-03-25 12:03:57 +00:00
|
|
|
|
printf "\n# Enabling Mpd as a user service ##############################################\n\n"
|
|
|
|
|
mkdir -p ~/.config/mpd/playlists
|
|
|
|
|
systemctl --user enable --now mpd
|
|
|
|
|
|
2019-10-14 19:50:06 +00:00
|
|
|
|
read --prompt "echo 'Do you want to activate the ssh server? (Y/n): ' " -l sshdserver
|
|
|
|
|
if test $sshdserver = 'y' || test $sshdserver = "Y" || test $sshdserver = ''
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Enabling ssh server #########################################################\n\n"
|
2019-10-14 19:11:32 +00:00
|
|
|
|
sudo systemctl enable --now sshd
|
|
|
|
|
end
|
|
|
|
|
|
2019-10-21 10:13:40 +00:00
|
|
|
|
sudo systemctl enable --now ly
|
|
|
|
|
sudo systemctl disable getty@tty2
|
|
|
|
|
|
2019-10-24 11:33:42 +00:00
|
|
|
|
sudo usermod -aG video $USER
|
|
|
|
|
|
2019-11-29 20:16:11 +00:00
|
|
|
|
sudo systemctl enable --now nordvpnd
|
|
|
|
|
|
2019-11-23 17:31:56 +00:00
|
|
|
|
for f in (find ~/.etc -type f)
|
|
|
|
|
set dest (echo $f | sed -n 's/^.*etc\(.*\)$/\/etc\1/p')
|
|
|
|
|
sudo ln -s $f $dest
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
read --prompt "echo 'Symlink .nanorc to root’s .nanorc? (Y/n): ' " -l nanoroot
|
|
|
|
|
if test $nanoroot = 'y' || test $nanoroot = "Y" || test $nanoroot = ''
|
|
|
|
|
printf "\n# Symlinking .nanorc to root’s .nanorc ########################################\n\n"
|
|
|
|
|
sudo ln -s $HOME/.nanorc /root/.nanorc
|
|
|
|
|
end
|
|
|
|
|
|
2020-02-17 15:09:23 +00:00
|
|
|
|
mkdir -p ~/fromGIT
|
|
|
|
|
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Install polybar-battery #####################################################\n\n"
|
2019-10-14 19:11:32 +00:00
|
|
|
|
cd ~/fromGIT
|
|
|
|
|
git clone https://github.com/drdeimos/polybar_another_battery.git
|
|
|
|
|
cd polybar_another_battery
|
|
|
|
|
go get -u github.com/distatus/battery/cmd/battery
|
|
|
|
|
make build
|
|
|
|
|
|
2020-02-22 10:56:46 +00:00
|
|
|
|
cd ~/.local/bin
|
|
|
|
|
ln -s ~/fromGIT/polybar_another_battery/polybar-ab polybar-ab
|
2019-10-20 23:22:46 +00:00
|
|
|
|
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Install Reveal.JS ###########################################################\n\n"
|
2019-10-14 19:11:32 +00:00
|
|
|
|
cd ~/fromGIT
|
|
|
|
|
git clone https://github.com/hakimel/reveal.js.git
|
|
|
|
|
|
2020-02-22 10:56:46 +00:00
|
|
|
|
printf "\n# Install powerline fonts #####################################################\n\n"
|
|
|
|
|
cd ~/fromGIT
|
|
|
|
|
git clone https://github.com/powerline/fonts.git --depth=1
|
|
|
|
|
cd fonts
|
|
|
|
|
./install.sh
|
|
|
|
|
fc-cache -vf
|
|
|
|
|
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Install the rust toolchains, nightly is the default one #####################\n\n"
|
2019-10-14 19:11:32 +00:00
|
|
|
|
rustup default nightly
|
2019-10-20 23:22:46 +00:00
|
|
|
|
|
2019-10-14 19:11:32 +00:00
|
|
|
|
rustup toolchain install stable
|
|
|
|
|
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Add rust utilities ##########################################################\n\n"
|
2019-10-14 19:11:32 +00:00
|
|
|
|
cargo install rustfmt racer
|
|
|
|
|
|
2020-05-17 19:03:22 +00:00
|
|
|
|
rustup component add rust-src
|
2019-11-09 23:23:57 +00:00
|
|
|
|
rustup component add rls
|
|
|
|
|
|
2020-01-29 20:19:57 +00:00
|
|
|
|
printf "\n# Installing Python packages ##################################################\n\n"
|
Switched to LSP backend, added packages to install and configuration
In Emacs, I switched to the LSP backend for C/C++, CSS, Dart, HTML, Go,
Javascript and Python. I also removed a redundant line for web-beautify, and I
removed the plantuml layer since I don’t use it.
This lead to the installation of multiple packages, some of which were already
required but not explicitly installed by the bootstrap. I added the packages
existing in the Arch repos and the AUR, and some packages will get installed by
pip or by go’s package manager. I also set up the configuration of Chicken, and
more precisely, of its documentation.
2019-11-10 09:40:34 +00:00
|
|
|
|
pip install --user pyls-isort pyls-mypy
|
|
|
|
|
|
2020-01-29 20:19:57 +00:00
|
|
|
|
printf "\n# Installing Go packages ######################################################\n\n"
|
Switched to LSP backend, added packages to install and configuration
In Emacs, I switched to the LSP backend for C/C++, CSS, Dart, HTML, Go,
Javascript and Python. I also removed a redundant line for web-beautify, and I
removed the plantuml layer since I don’t use it.
This lead to the installation of multiple packages, some of which were already
required but not explicitly installed by the bootstrap. I added the packages
existing in the Arch repos and the AUR, and some packages will get installed by
pip or by go’s package manager. I also set up the configuration of Chicken, and
more precisely, of its documentation.
2019-11-10 09:40:34 +00:00
|
|
|
|
go get -v golang.org/x/tools/gopls@latest
|
|
|
|
|
go get -u -v golang.org/x/tools/cmd/godoc
|
|
|
|
|
go get -u -v golang.org/x/tools/cmd/goimports
|
|
|
|
|
go get -u -v golang.org/x/tools/cmd/gorename
|
|
|
|
|
go get -u -v golang.org/x/tools/cmd/guru
|
|
|
|
|
go get -u -v github.com/cweill/gotests/...
|
|
|
|
|
go get -u -v github.com/davidrjenni/reftools/cmd/fillstruct
|
|
|
|
|
go get -u -v github.com/fatih/gomodifytags
|
|
|
|
|
go get -u -v github.com/godoctor/godoctor
|
|
|
|
|
go get -u -v github.com/golangci/golangci-lint/cmd/golangci-lint
|
|
|
|
|
go get -u -v github.com/haya14busa/gopkgs/cmd/gopkgs
|
|
|
|
|
go get -u -v github.com/josharian/impl
|
|
|
|
|
go get -u -v github.com/mdempsky/gocode
|
|
|
|
|
go get -u -v github.com/rogpeppe/godef
|
|
|
|
|
go get -u -v github.com/zmb3/gogetdoc
|
2019-12-30 02:21:25 +00:00
|
|
|
|
go get -u -v golang.org/x/tools/gopls
|
Switched to LSP backend, added packages to install and configuration
In Emacs, I switched to the LSP backend for C/C++, CSS, Dart, HTML, Go,
Javascript and Python. I also removed a redundant line for web-beautify, and I
removed the plantuml layer since I don’t use it.
This lead to the installation of multiple packages, some of which were already
required but not explicitly installed by the bootstrap. I added the packages
existing in the Arch repos and the AUR, and some packages will get installed by
pip or by go’s package manager. I also set up the configuration of Chicken, and
more precisely, of its documentation.
2019-11-10 09:40:34 +00:00
|
|
|
|
|
2020-01-29 20:19:57 +00:00
|
|
|
|
printf "\n# Setting up Chicken ##########################################################\n\n"
|
Switched to LSP backend, added packages to install and configuration
In Emacs, I switched to the LSP backend for C/C++, CSS, Dart, HTML, Go,
Javascript and Python. I also removed a redundant line for web-beautify, and I
removed the plantuml layer since I don’t use it.
This lead to the installation of multiple packages, some of which were already
required but not explicitly installed by the bootstrap. I added the packages
existing in the Arch repos and the AUR, and some packages will get installed by
pip or by go’s package manager. I also set up the configuration of Chicken, and
more precisely, of its documentation.
2019-11-10 09:40:34 +00:00
|
|
|
|
chicken-install -s apropos chicken-doc
|
|
|
|
|
|
|
|
|
|
cd (chicken-csi -b -e "(import (chicken platform))" -p "(chicken-home)")
|
|
|
|
|
curl https://3e8.org/pub/chicken-doc/chicken-doc-repo.tgz | sudo tar zx
|
|
|
|
|
|
2019-10-15 20:24:03 +00:00
|
|
|
|
printf "\n# Clean the pacman and yay cache ##############################################\n\n"
|
2019-10-20 23:22:46 +00:00
|
|
|
|
yay -Sc --noconfirm
|
2020-01-29 20:19:57 +00:00
|
|
|
|
|
|
|
|
|
printf "\n# Installing fisher ###########################################################\n\n"
|
|
|
|
|
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
|
|
|
|
|
|
|
|
|
|
printf "\n# Installing Fisher Extensions ################################################\n\n"
|
2020-03-15 18:21:43 +00:00
|
|
|
|
fisher add fishpkg/fish-prompt-metro
|
2020-01-29 20:19:57 +00:00
|
|
|
|
fisher add jorgebucaran/fish-bax
|
|
|
|
|
fisher add franciscolourenco/done
|
|
|
|
|
fisher add jethrokuan/fzf
|
|
|
|
|
fisher add jethrokuan/z
|
|
|
|
|
fisher add jorgebucaran/fish-getopts
|
|
|
|
|
fisher add laughedelic/pisces
|
|
|
|
|
fisher add acomagu/fish-async-prompt
|