wget https://github.com/jasonhu5/config/archive/master.zip && \
unzip master.zip && \
rm master.zip && \
cd config-master
- To setup a headless device:
sudo bash install.sh $USER headless 2>&1 | tee /tmp/initial_setup.log
- To setup a desktop device (with more GUI applications):
sudo bash install.sh $USER desktop 2>&1 | tee /tmp/initial_setup.log
The setup script will print to screen and log the same contents to /tmp/initial_setup.log
.
- .bashrc
- tmux
mv .tmux ~ && mv .tmux.conf ~
- Add plugins
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
- Copy text selected
- install xclip first:
sudo apt update && sudo apt install -y xclip
- install xclip first:
- Add plugins
- inputrc
- vim
- (maybe? a bit hard to configure this) YouCompleteMe
- guake terminal:
sudo apt-get install guake -y
- use gparted
- remember to update grub after partition change influencing boot drive
- mount external disks
- backup folders
- (Reference)
sudo add-apt-repository ppa:hluk/copyq -y && \ sudo apt update -y && \ sudo apt install copyq -y
TODO: make this easier
- install fish
sudo apt-add-repository ppa:fish-shell/release-3 -y && \ sudo apt-get update -y && \ sudo apt-get install fish -y
- Optional reference to make it the default shell: here
- Enter fish shell
fish
- config colors (web GUI)
# configure the color, to e.g. Dracula fish_config
- install fisher plugin manager (ref)
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
- install packages required by some plugins
- fonts required for
tide
(ref)- MesloLGS NF Regular.ttf
- MesloLGS NF Bold.ttf
- MesloLGS NF Italic.ttf
- MesloLGS NF Bold Italic.ttf
- Also, set the terminal font to one of these
- packages required by
PatrickF1/fzf
(ref)- In fish shell:
mkdir -p ~/.local/bin && \ # fzf git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && \ ~/.fzf/install && \ # fd sudo apt install fd-find -y && \ ln -s (which fdfind) ~/.local/bin/fd &&\ # bat sudo apt install bat -y && \ ln -s /usr/bin/batcat ~/.local/bin/bat
- In fish shell:
- fonts required for
- install plugins with
fisher
fisher install jorgebucaran/fisher && \ # fisher install franciscolourenco/done && \ # seems problematic fisher install PatrickF1/fzf.fish && \ fisher install IlanCosman/tide && \ fisher install edc/bass # using bash utilities in fish, check out https://github.com/edc/bass
- move config folder to destined
mkdir -p ~/.config/fish && \ cp .config/fish/config.fish ~/.config/fish
- NOTE: if fuzzy find is not working properly, make sure the versions of dependencies are met: requirements
- (should be deprecated, use SSH always) Remember credentials
- VSCode plugins
- Ref link
- chrome extensions