From 100937de49e969a7c793ed3f18c2ca1adf2a1775 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Sat, 3 Oct 2020 20:01:14 +0200 Subject: [PATCH] add got setup --- mybashrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mybashrc b/mybashrc index 6664c34..dff2104 100644 --- a/mybashrc +++ b/mybashrc @@ -694,6 +694,16 @@ _DELETE_WO_SITES() { done } +_GOT_INSTALL() { +cd /tmp || exit 0 +wget https://raw.githubusercontent.com/melbahja/got/master/install.sh +sh install.sh && rm install.sh -f +rm -f /usr/local/bin/got /usr/bin/got +mv bin/got /usr/local/bin/ +chmod +x /usr/local/bin/got +cd || exit 0 +} + ################################## # ffmpeg ################################## @@ -848,6 +858,7 @@ alias gpg-decrypt=decrypt_gpg alias gpigz=compress_pigz alias grep='grep --color=auto' alias gunpigz=decompress_pigz +alias setup-got=_GOT_INSTALL alias install-nanorc=_INSTALL_NANORC alias IPPA=_PPA_INSTALL alias l='ls -CF'