add omz install script
This commit is contained in:
parent
87a038f7df
commit
98107cca8b
4
sync.py
4
sync.py
@ -323,9 +323,9 @@ class SysType (Enum):
|
|||||||
LINUX = 'linux'
|
LINUX = 'linux'
|
||||||
TERMUX = 'termux'
|
TERMUX = 'termux'
|
||||||
WINDOWS = 'windows'
|
WINDOWS = 'windows'
|
||||||
if ("termux" in backup_root):
|
if ("termux" in user_home):
|
||||||
sys_type: SysType = SysType.TERMUX
|
sys_type: SysType = SysType.TERMUX
|
||||||
elif (backup_root[0] == "/"):
|
elif (user_home[0] == "/"):
|
||||||
sys_type: SysType = SysType.LINUX
|
sys_type: SysType = SysType.LINUX
|
||||||
else:
|
else:
|
||||||
sys_type: SysType = SysType.WINDOWS
|
sys_type: SysType = SysType.WINDOWS
|
||||||
|
9
zsh/_init.sh
Normal file
9
zsh/_init.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
|
||||||
|
|
||||||
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||||
|
|
||||||
|
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||||
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
||||||
|
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions
|
||||||
|
git clone https://github.com/jirutka/zsh-shift-select.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-shift-select
|
||||||
|
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
|
Loading…
Reference in New Issue
Block a user