-
Notifications
You must be signed in to change notification settings - Fork 0
/
.init-oh-my-zsh-env.zsh
executable file
·40 lines (35 loc) · 1.15 KB
/
.init-oh-my-zsh-env.zsh
1
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
#!/bin/zsh
DIR=$( cd "$( dirname "$0" )" && pwd )
$DIR/link-config.sh
[ ! -d "$HOME/.oh-my-zsh" ] && sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#ZSH_PLUGINS_DIR=${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins
#ZSH_THEMES_DIR=${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes
#
#(
# cd "$ZSH_PLUGINS_DIR"
# for repo in https://github.com/marlonrichert/zsh-autocomplete \
# https://github.com/zsh-users/zsh-syntax-highlighting \
# https://github.com/zsh-users/zsh-autosuggestions \
# https://github.com/zsh-users/zsh-history-substring-search \
# ; do
# repo_name=$(echo "$repo" | awk -F/ '{print $NF}')
# if [ ! -d "$repo_name" ]; then
# git clone --depth=1 $repo
# else
# cd $repo_name
# git pull
# fi
# done
# cd "$ZSH_THEMES_DIR"
# for repo in https://github.com/romkatv/powerlevel10k \
# ; do
# repo_name=$(echo "$repo" | awk -F/ '{print $NF}')
# if [ ! -d "$repo_name" ]; then
# git clone --depth=1 $repo
# else
# cd $repo_name
# git pull
# fi
# done
#)
source ~/.zshrc