Skip to content

jasonhu5/config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu config

Simple setup (fewer steps)

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.

Step by step

  • .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
  • inputrc
  • vim
  • guake terminal: sudo apt-get install guake -y

Ubuntu adjust partition

CopyQ

  • (Reference)
    sudo add-apt-repository ppa:hluk/copyq -y && \
    sudo apt update -y && \
    sudo apt install copyq -y
    

Fish

TODO: make this easier

  1. 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
  2. Enter fish shell
    fish
    
  3. config colors (web GUI)
    # configure the color, to e.g. Dracula
    fish_config
    
  4. install fisher plugin manager (ref)
    curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
    
    
  5. install packages required by some plugins
    • fonts required for tide (ref)
    • 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
  6. 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
    
  7. move config folder to destined
    mkdir -p ~/.config/fish && \
    cp .config/fish/config.fish ~/.config/fish
    
  8. NOTE: if fuzzy find is not working properly, make sure the versions of dependencies are met: requirements

Albert

Git

TODO

  • VSCode plugins
  • chrome extensions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published