1
0

Compare commits

..

3 Commits

Author SHA1 Message Date
edf8dad73b add .tigrc config 2024-12-04 12:23:39 +01:00
8ef83ca80c update fnm to version 1.37.1 2024-07-09 22:29:26 +02:00
e15a376cdf update some commands 2024-07-09 22:27:05 +02:00
5 changed files with 35 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ set -eu
source "${BOOTSTRAP_LIB}/helpers" source "${BOOTSTRAP_LIB}/helpers"
VERSION="18.2.0" VERSION="18.3.0"
INSTALL_DIR="${HOME}/.local/bin" INSTALL_DIR="${HOME}/.local/bin"
INSTALLED_VERSION="" INSTALLED_VERSION=""
@@ -17,11 +17,11 @@ if [[ "$VERSION" == "$INSTALLED_VERSION" ]]; then
exit 0 exit 0
fi fi
echo "Installing atuin version ${VERSION}..." echo "Installing atuin version ${VERSION} ..."
URL="https://github.com/atuinsh/atuin/releases/download/v${VERSION}/atuin-v${VERSION}-x86_64-unknown-linux-gnu.tar.gz" URL="https://github.com/atuinsh/atuin/releases/download/v${VERSION}/atuin-x86_64-unknown-linux-gnu.tar.gz"
echo "Downloading from ${URL}..." echo "Downloading from ${URL} ..."
TARGET="$(download "$URL")" TARGET="$(download "$URL")"
if [[ -f "${INSTALL_DIR}/atuin" ]]; then if [[ -f "${INSTALL_DIR}/atuin" ]]; then
@@ -31,7 +31,7 @@ fi
echo "Unpacking atuin command to ${INSTALL_DIR}..." echo "Unpacking atuin command to ${INSTALL_DIR}..."
mkdir -p "${INSTALL_DIR}" mkdir -p "${INSTALL_DIR}"
tar --directory="${INSTALL_DIR}" -xf "${TARGET}" --strip-components 1 "atuin-v${VERSION}-x86_64-unknown-linux-gnu/atuin" tar --directory="${INSTALL_DIR}" -xf "${TARGET}" --strip-components 1 "atuin-x86_64-unknown-linux-gnu/atuin"
echo "Removing ${TARGET}..." echo "Removing ${TARGET} ..."
rm -f "${TARGET}" rm -f "${TARGET}"

View File

@@ -4,7 +4,7 @@ set -eu
source "${BOOTSTRAP_LIB}/helpers" source "${BOOTSTRAP_LIB}/helpers"
VERSION="1.35.1" VERSION="1.37.1"
INSTALL_DIR="${HOME}/.local/bin" INSTALL_DIR="${HOME}/.local/bin"
INSTALLED_VERSION="" INSTALLED_VERSION=""

View File

@@ -14,6 +14,10 @@ if [[ -x "$(command -v hx)" ]] ; then
INSTALLED_VERSION="$(hx --version | grep -o '[0-9]\+\.[0-9.]\+')" INSTALLED_VERSION="$(hx --version | grep -o '[0-9]\+\.[0-9.]\+')"
fi fi
echo $VERSION
echo $INSTALLED_VERSION
exit 0
if [[ "$VERSION" == "$INSTALLED_VERSION" ]] ; then if [[ "$VERSION" == "$INSTALLED_VERSION" ]] ; then
echo "Helix editor version ${VERSION} already installed." echo "Helix editor version ${VERSION} already installed."
exit 0 exit 0

View File

@@ -4,7 +4,7 @@ set -eu
source "${BOOTSTRAP_LIB}/helpers" source "${BOOTSTRAP_LIB}/helpers"
VERSION="1.18.2" VERSION="1.19.0"
INSTALL_DIR="${HOME}/.local/bin" INSTALL_DIR="${HOME}/.local/bin"
INSTALLED_VERSION="" INSTALLED_VERSION=""

23
.tigrc Normal file
View File

@@ -0,0 +1,23 @@
# Variables
set commit-order = author-date
# View settings
set main-options = --all
set main-view = id:yes author:width:20 date:custom commit-title:yes,graph,refs
color id yellow default
color author default default
color date green default
color main-ref red default
color cursor black green
# UI display settings
set tab-size = 2
# Generic
bind generic <Up> move-up
bind generic <Down> move-down
bind generic <C-Down> next
bind generic <C-Up> previous
bind generic <Ins> previous
bind generic <Del> next