1 Star 0 Fork 1

Ethan_prog / ubuntu-apps

forked from 牧码牛 / ubuntu-apps 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
autojump.sh 467 Bytes
一键复制 编辑 原始数据 按行查看 历史
Morven Hou 提交于 2022-03-18 13:42 . mirror
#!/usr/bin/env bash
set -euo pipefail
set -o errtrace
if ! which python3; then
echo 'Please install python3 first'
exit 1
fi
if ! which python; then
echo "Will link $(which python3) to /usr/local/bin/python"
sudo ln -s "$(which python3)" /usr/local/bin/python
fi
trap 'rm -rf "$TMPDIR"' EXIT
TMPDIR=$(mktemp -d) || exit 1
git clone --single-branch --depth 1 https://gitee.com/mirror-github/autojump.git "$TMPDIR"
(cd "$TMPDIR" && python3 ./install.py)
Shell
1
https://gitee.com/EthanPro/ubuntu-apps.git
git@gitee.com:EthanPro/ubuntu-apps.git
EthanPro
ubuntu-apps
ubuntu-apps
master

搜索帮助