Compare commits
4 Commits
dde2cc5b41
...
6009b41350
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6009b41350 | ||
|
|
ebcce277d5 | ||
|
|
0d677fa1e0 | ||
|
|
d00cf72450 |
@ -8,6 +8,20 @@
|
|||||||
quotepath = false
|
quotepath = false
|
||||||
commitGraph = true
|
commitGraph = true
|
||||||
logallrefupdates = true
|
logallrefupdates = true
|
||||||
|
#{{- if lookPath "delta" }}#
|
||||||
|
pager = delta
|
||||||
|
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
|
|
||||||
|
[delta]
|
||||||
|
navigate = true # use n and N to move between diff sections
|
||||||
|
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
|
||||||
|
line-numbers = true
|
||||||
|
|
||||||
|
[merge]
|
||||||
|
conflictstyle = diff3
|
||||||
|
#{{- end }}#
|
||||||
|
|
||||||
[color]
|
[color]
|
||||||
branch = auto
|
branch = auto
|
||||||
@ -58,6 +72,9 @@
|
|||||||
[push]
|
[push]
|
||||||
default = simple
|
default = simple
|
||||||
|
|
||||||
|
[pull]
|
||||||
|
rebase = false
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
||||||
@ -75,6 +92,9 @@
|
|||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
algorithm = histogram
|
algorithm = histogram
|
||||||
|
#{{- if lookPath "delta" }}#
|
||||||
|
colorMoved = default
|
||||||
|
#{{- end }}#
|
||||||
|
|
||||||
[safe]
|
[safe]
|
||||||
directory = *
|
directory = *
|
||||||
|
|||||||
20
dot_local/bin/executable_install-confluent
Executable file
20
dot_local/bin/executable_install-confluent
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
||||||
|
|
||||||
|
APP=confluent
|
||||||
|
VERSION=${VERSION:-3.39.1}
|
||||||
|
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
|
||||||
|
|
||||||
|
main() (
|
||||||
|
URL=https://github.com/confluentinc/cli/releases/download/v${VERSION}/confluent_${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}/${APP}" "${DEST}" "${APP}"
|
||||||
|
)
|
||||||
|
|
||||||
|
main "${@}"
|
||||||
27
dot_local/bin/executable_install-delta
Executable file
27
dot_local/bin/executable_install-delta
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
||||||
|
|
||||||
|
APP="delta"
|
||||||
|
VERSION=${VERSION:-0.16.5}
|
||||||
|
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
|
||||||
|
|
||||||
|
main() (
|
||||||
|
URL=https://github.com/dandavison/delta/releases/download/${VERSION}/delta-${VERSION}-$(uname -m)-$(get_os).tar.gz
|
||||||
|
extract_tarball "${URL}" "${DEST}/${VERSION}" "--strip-component 1"
|
||||||
|
set_current_link "${DEST}" "${VERSION}"
|
||||||
|
set_link "${XDG_BIN_HOME}/${APP}" "${DEST}" "${APP}"
|
||||||
|
)
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
main "${@}"
|
||||||
@ -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=golangci-lint
|
APP=golangci-lint
|
||||||
VERSION=${VERSION:-1.54.2}
|
VERSION=${VERSION:-1.55.1}
|
||||||
DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
|
DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
|
||||||
URL=https://github.com/golangci/golangci-lint/releases/download/v${VERSION}/golangci-lint-${VERSION}-$(get_os)-$(get_arch).tar.gz
|
URL=https://github.com/golangci/golangci-lint/releases/download/v${VERSION}/golangci-lint-${VERSION}-$(get_os)-$(get_arch).tar.gz
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user