Skip to content

Passutte/config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

config

MacOS and Ubuntu Setups

Simple setup

wget https://github.com/passutte/coding/archive/master.zip && \
unzip master.zip && \
rm master.zip && \
cd config-main
  • MacOS (NAME should be the name after /Users/... and USER is echo $USER):
    sudo bash install.sh $NAME macOS $USER 2>&1 | tee /tmp/initial_setup.log
    
  • Ubuntu:
    sudo bash install.sh $USER ubuntu 2>&1 | tee /tmp/initial_setup.log
    
  • Parallels (Ubuntu):
    sudo bash install.sh $USER parallels 2>&1 | tee /tmp/initial_setup.log
    

The setup script will print to screen and log the same contents to /tmp/initial_setup.log.

Tmux

Source config with tmux source ~/.tmux.conf Run Prefix + I to initialize plugins.

Iterm2

For MacOS, key mappings config found in macOS NOTE: In settings - Keys - Navigation Shortcuts: change shortcut to choose a split pane to No Shortcut (otherwise option+numbers cannot be used special characters)

Guake

For Linux, key mappings config found in ubuntu

guake --restore-preferences=guake.cfga
guake --save-preferences=guake.cfg

Fish

  1. Enter fish shell
    fish
    
  2. config colors (web GUI)
    # configure the color, to e.g. Dracula
    fish_config
    
  3. install fisher plugin manager (ref)
    curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
    
  4. install packages required by some plugins
    • fonts required for tide (ref)
    • packages required by PatrickF1/fzf (ref)
      • In fish shell (not working on MacOS):
        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
  5. install plugins with fisher
    fisher install jorgebucaran/fisher && \
    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
    

Additional Plugins

VSCode Extensions

https://www.ubuntupit.com/best-visual-studio-code-extensions-for-programmers/

Useful Stuff

Anaconda:

conda init <>
conda config --set auto_activate_base false

About

MacOS and Ubuntu Setups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages