forked from x/ContextOS
opt some
This commit is contained in:
parent
763f0d43d9
commit
c873a3aa23
14
etc/miss.sh
14
etc/miss.sh
@ -41,17 +41,9 @@ ish_miss_prepare webview
|
|||||||
ish_miss_prepare gogit
|
ish_miss_prepare gogit
|
||||||
|
|
||||||
_prepare_ttc() {
|
_prepare_ttc() {
|
||||||
|
ish_sys_cli_prepare; ish_dev_vim_prepare; ish_dev_tmux_prepare
|
||||||
|
ish_sys_link_create ~/.bash_local.sh $PWD/etc/conf/bash_local.sh
|
||||||
ish_sys_link_create ~/.vim_local.vim $PWD/etc/conf/vim_local.vim
|
ish_sys_link_create ~/.vim_local.vim $PWD/etc/conf/vim_local.vim
|
||||||
require dev/vim/vim.sh
|
if tmux -V; then ish_miss_prepare_session miss miss; else ish_miss_serve_log; fi
|
||||||
ish_dev_vim_prepare
|
|
||||||
if tmux -V; then
|
|
||||||
require dev/tmux/tmux.sh
|
|
||||||
ish_dev_tmux_prepare
|
|
||||||
ish_miss_prepare_session miss miss
|
|
||||||
else
|
|
||||||
ish_miss_serve_log
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
ish_sys_link_create ~/.bash_local.sh $PWD/etc/conf/bash_local.sh
|
|
||||||
ish_sys_cli_prepare
|
|
||||||
ish_miss_make; if [ -n "$*" ]; then ish_miss_serve "$@"; else _prepare_ttc; fi
|
ish_miss_make; if [ -n "$*" ]; then ish_miss_serve "$@"; else _prepare_ttc; fi
|
||||||
|
@ -12,6 +12,7 @@ main() {
|
|||||||
;;
|
;;
|
||||||
dev) # 开发环境
|
dev) # 开发环境
|
||||||
shift && prepare_system
|
shift && prepare_system
|
||||||
|
require miss.sh
|
||||||
git config --global url."$ctx_dev".insteadOf https://shylinux.com
|
git config --global url."$ctx_dev".insteadOf https://shylinux.com
|
||||||
git clone https://shylinux.com/x/contexts
|
git clone https://shylinux.com/x/contexts
|
||||||
cd contexts && source etc/miss.sh dev dev "$@"
|
cd contexts && source etc/miss.sh dev dev "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user