# Install spacemacs ```sh sudo apt install -y emacs git git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d wget -O ~/.spacemacs https://gist.github.com/tykurtz/41c6d7b0930b9f8b107265ab895114a4/raw/e0e5f4bba3692b9746d27c377e5eddd81a7cd1e2/.spacemacs emacs --batch -l ~/.emacs.d/init.el --eval="(configuration-layer/update-packages t)" # Layer initialization before launch ``` # Install ccls (code completion, navigation, etc.) # Add to ~/.bashrc ```sh # Combines multiple compile_commands.json into a single file at project root. ccls-ros-merge(){ cat ./**/**/compile_commands.json > compile_commands.json && sed -i -e ':a;N;$!ba;s/\n\]\[\n/,\n/g' compile_commands.json } ``` # Misc. Setup ## Install misc. software `sudo apt install -y spotify-client byobu` ## SSH Add ```sh ForwardX11 yes Compression yes ``` to `~/.ssh/config`