fix: 修复 macOS 上 tmux 的安装
This commit is contained in:
parent
45a2cc0462
commit
24d180fd38
@ -215,7 +215,7 @@ configure_tmux() {
|
|||||||
[ $offline -eq 1 ] && return
|
[ $offline -eq 1 ] && return
|
||||||
|
|
||||||
if confirm_action "要配置 tmux 吗?" "Y"; then
|
if confirm_action "要配置 tmux 吗?" "Y"; then
|
||||||
sudo apt-get install tmux -y
|
pkg_install tmux || return $?
|
||||||
|
|
||||||
rm ~/.tmux -r
|
rm ~/.tmux -r
|
||||||
git_clone tmux-plugins/tpm ~/.tmux/plugins/tpm --norecursive
|
git_clone tmux-plugins/tpm ~/.tmux/plugins/tpm --norecursive
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user