[2018 鐵人賽] 簡潔高效的 PHP & Laravel 工作術:從 elementary OS 下手的聰明改造提案 #111
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62source ~/.zplug/init.zsh
# TAB 補完選單
source ~/.zplug/completion.zsh
export DEFAULT_USER=`whoami`
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir newline vcs)
zplug "bhilburn/powerlevel9k", use:powerlevel9k.zsh-theme
# 排序安裝
zplug "zsh-users/zsh-syntax-highlighting", defer:2
# 從 Github 安裝
zplug "zsh-users/zsh-history-substring-search"
# 從 on-my-zsh 安裝
zplug "plugins/git", from:oh-my-zsh
# 依作業系統載入
zplug "lib/clipboard", from:oh-my-zsh, if:"[[ $OSTYPE == *darwin* ]]"
#docker compose
zplug "plugins/docker-compose", from:oh-my-zsh
zplug "b4b4r07/enhancd", use:init.sh
zplug "tarrasch/zsh-bd", at:3724233, frozen:1
zplug "jhawthorn/fzy", \
as:command, \
rename-to:fzy, \
hook-build:"
{
make
sudo make install
} &>/dev/null
"
zplug "junegunn/fzf-bin", as:command, from:gh-r, rename-to:fzf
# ついでに tmux 用の拡張も入れるといい
zplug "junegunn/fzf", as:command, use:bin/fzf-tmux
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
#沒有用
#POWERLEVEL9K_MODE="Hack"
zplug load
解決zplug install
unknow error
安裝gawksudo apt-get install gawk