Compare commits

...

10 Commits

Author SHA1 Message Date
Buddy Sandidge
718665a121 Add install age script 2023-03-24 15:24:50 -07:00
Buddy Sandidge
9eed8c6c80 Add erdtree shell completions 2023-03-20 14:33:01 -07:00
Buddy Sandidge
a790373988 Update more up to date go vim plugin 2023-03-20 13:12:39 -07:00
Buddy Sandidge
a85491c493 Update erdtree to use XDG_CONFIG_HOME config location 2023-03-20 12:59:07 -07:00
Buddy Sandidge
2d6abf2276 Bump erdtree version to 1.60.0 2023-03-20 12:54:55 -07:00
Buddy Sandidge
6efbe97469 Bump gitea to 1.19.0 2023-03-20 12:52:58 -07:00
Buddy Sandidge
040b775590 Bump lego version 2023-03-14 13:14:52 -07:00
Buddy Sandidge
8a1dff4d8b Update erdtree config 2023-03-14 12:42:35 -07:00
Buddy Sandidge
4b656ce982 Add erdtree install and config 2023-03-14 12:33:58 -07:00
Buddy Sandidge
14d183f708 Bump dasel version 2023-03-11 18:15:00 -08:00
14 changed files with 59 additions and 7 deletions

View File

@ -8,6 +8,8 @@ setopt INC_APPEND_HISTORY
setopt HIST_IGNORE_DUPS setopt HIST_IGNORE_DUPS
setopt EXTENDED_HISTORY setopt EXTENDED_HISTORY
autoload -Uz compinit && compinit
# Use emacs keybindings even if our EDITOR is set to vi # Use emacs keybindings even if our EDITOR is set to vi
bindkey -e bindkey -e

View File

@ -13,7 +13,7 @@ if [[ -d "${XDG_CONFIG_HOME}/zsh/zshrc.d" ]]; then
for file in "${XDG_CONFIG_HOME}"/zsh/zshrc.d/*.zsh(N); do for file in "${XDG_CONFIG_HOME}"/zsh/zshrc.d/*.zsh(N); do
if [ -r "$file" ]; then if [ -r "$file" ]; then
#shellcheck disable=1090 #shellcheck disable=1090
. "$file" source "$file"
fi fi
done done
fi fi

View File

@ -0,0 +1 @@
eval "$(et --completions bash)"

View File

@ -0,0 +1,5 @@
--icons
--hidden
--sort size-rev
--dirs-first
--ignore-git

View File

@ -0,0 +1 @@
eval "$(et --completions fish)"

View File

@ -0,0 +1,4 @@
autoload -Uz compinit
compinit
eval "$(et --completions zsh)"

View File

@ -0,0 +1,25 @@
#!/usr/bin/env bash
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
function get_os () (
case $(uname -s) in
Linux*) echo unknown-linux-gnu;;
Darwin*) echo apple-darwin;;
*) >&2 echo "unsupported os: $(uname -s)"; exit 1;;
esac
)
function get_arch () (
uname -m
)
APP=erdtree
VERSION=${VERSION:-1.6.0}
DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
URL=https://github.com/solidiquis/erdtree/releases/download/v${VERSION}/et-v${VERSION}-$(get_arch)-$(get_os).tar.gz
extract_tarball "${URL}" "${DEST}/${VERSION}"
set_current_link "${DEST}" "${VERSION}"
set_link "${XDG_BIN_HOME}/et" "${DEST}" "et"

View File

@ -1 +1 @@
Plug 'fatih/vim-go', { 'tag': 'v1.28' } Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }

View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
# shellcheck disable=SC1090
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
APP=age
VERSION=${VERSION:-1.1.1}
DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
URL=https://github.com/FiloSottile/age/releases/download/v${VERSION}/age-v${VERSION}-$(get_os)-$(get_arch).tar.gz
extract_tarball "${URL}" "${DEST}/${VERSION}" "--strip-components 1"
set_current_link "${DEST}" "${VERSION}"
set_link "${XDG_BIN_HOME}/age" "${DEST}" age
set_link "${XDG_BIN_HOME}/age-keygen" "${DEST}" age-keygen

View File

@ -11,7 +11,7 @@ get_arch () (
) )
APP=dasel APP=dasel
VERSION=${VERSION:-1.27.1} VERSION=${VERSION:-2.1.1}
DEST=${XDG_DATA_HOME}/apps/releases/${APP} DEST=${XDG_DATA_HOME}/apps/releases/${APP}
URL=https://github.com/TomWright/dasel/releases/download/v${VERSION}/dasel_$(get_os)_$(get_arch) URL=https://github.com/TomWright/dasel/releases/download/v${VERSION}/dasel_$(get_os)_$(get_arch)

View File

@ -14,7 +14,7 @@ function get_os () {
APP=gitea APP=gitea
DEST=${XDG_DATA_HOME}/apps/releases/${APP} DEST=${XDG_DATA_HOME}/apps/releases/${APP}
CURRENT=${DEST}/current CURRENT=${DEST}/current
VERSION=${VERSION:-1.18.3} VERSION=${VERSION:-1.19.0}
URL=https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-$(get_os)-$(get_arch).xz URL=https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-$(get_os)-$(get_arch).xz
if [ ! -d "${DEST}/${VERSION}" ]; then if [ ! -d "${DEST}/${VERSION}" ]; then

View File

@ -14,7 +14,7 @@ function get_os () {
APP=gitea APP=gitea
DEST=/usr/local/apps/${APP} DEST=/usr/local/apps/${APP}
CURRENT=${DEST}/current CURRENT=${DEST}/current
VERSION=${VERSION:-1.18.3} VERSION=${VERSION:-1.19.0}
URL=https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-$(get_os)-$(get_arch).xz URL=https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-$(get_os)-$(get_arch).xz
BIN_DIR=/usr/local/bin BIN_DIR=/usr/local/bin

View File

@ -6,7 +6,7 @@ set -e
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
APP=lego APP=lego
VERSION=${VERSION:-v4.9.0} VERSION=${VERSION:-v4.10.2}
DEST=${XDG_DATA_HOME}/apps/releases/${APP} DEST=${XDG_DATA_HOME}/apps/releases/${APP}
URL=https://github.com/go-acme/lego/releases/download/${VERSION}/lego_${VERSION}_$(get_os)_$(get_arch).tar.gz URL=https://github.com/go-acme/lego/releases/download/${VERSION}/lego_${VERSION}_$(get_os)_$(get_arch).tar.gz

View File

@ -6,7 +6,7 @@ set -e
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
APP=lego APP=lego
VERSION=${VERSION:-v4.9.0} VERSION=${VERSION:-v4.10.2}
APPS_DIR=/usr/local/apps/${APP} APPS_DIR=/usr/local/apps/${APP}
URL=https://github.com/go-acme/lego/releases/download/${VERSION}/lego_${VERSION}_$(get_os)_$(get_arch).tar.gz URL=https://github.com/go-acme/lego/releases/download/${VERSION}/lego_${VERSION}_$(get_os)_$(get_arch).tar.gz