tatwd / dotfiles

My dotfiles
0 stars 1 forks source link

Note #1

Open tatwd opened 5 years ago

tatwd commented 5 years ago

Setup for Arch Linux:

#!/usr/bin/bash

sudo pacman-mirrors -i -c China -m rank
sudo pacman -Syu
sudo pacman -Sy yaourt

# update bash
yaourt -Su bash
# chsh -s /usr/bin/bash

# config fonts
yaourt -S consolas-font tty-inconsolata-g tty-fira-code

# git
yaourt -S git

# install apps
apps=(
  google-chrome
  visual-studio-code-bin
  sublime-text-3-imfix
)
yaourt -S ${apps[@]}

Setup oh-my-zsh:

if test ! $(which zsh); then
  echo "Install zsh..."
  sudo pacman zsh
fi
echo "Install oh-my-zsh..."
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
tatwd commented 5 years ago

Basic settings for sublime text editor:

{
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
    "font_face": "Fira Code Medium",
    "font_options":
    [
        "subpixel_antialias",
        // "gray_antialias"
    ],
    "font_size": 11,
    "highlight_line": true,
    "translate_tabs_to_spaces": true,
    "tab_size": 4,
    "ignored_packages": [ "Vintage" ],
    "theme": "Material-Theme.sublime-theme",
    "atomic_save": true
}

Some common packages:

1. Emmet
2. EditorConfig
3. Material Theme
4. Git
5. GitGutter