MAC 要裝的東西
今天我手賤把我的黑蘋果弄掛了,就快速地重新安裝一下.紀錄一下需要安裝的東西.
1. Office 365
http://login.microsoftonline.com
去官方下載
2.APPLE STORE 下載的東西
Line Slack Xcode
沒啥好說的Apple Store下載就好
3. Homebrew
https://brew.sh/index_zh-tw
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
安裝 git
brew install git
安裝 iTerm2
brew cask install iterm2
安裝 Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
安裝iterm2字型
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
去iTerm2 選 Meslo LG S DZ Regular for Powerline 字型
修正小鍵盤無法使用
在.zshrc 設定檔新增下面的代碼
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| # Fix numeric keypad # 0 . Enter bindkey -s "^[Op" "0" bindkey -s "^[On" "." bindkey -s "^[OM" "^M" # 1 2 3 bindkey -s "^[Oq" "1" bindkey -s "^[Or" "2" bindkey -s "^[Os" "3" # 4 5 6 bindkey -s "^[Ot" "4" bindkey -s "^[Ou" "5" bindkey -s "^[Ov" "6" # 7 8 9 bindkey -s "^[Ow" "7" bindkey -s "^[Ox" "8" bindkey -s "^[Oy" "9" # + - * / bindkey -s "^[Ol" "+" bindkey -s "^[Om" "-" bindkey -s "^[Oj" "*" |
安裝 powerlevel9k
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
## 使用 vim 編輯 .zshrc 設定檔
vi ~/.zshrc
ZSH_THEME="powerlevel9k/powerlevel9k"
DEFAULT_USER=`id -un`
POWERLEVEL9K_MODE='nerdfont-complete'
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir dir_writable vcs) # <= left prompt 設了 "dir"
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time)
4.VLC [看影片用]
https://www.videolan.org/vlc/download-macosx.zh-TW.html