Compare commits
3 Commits
6f8521dc71
...
e5e36687ab
| Author | SHA1 | Date |
|---|---|---|
|
|
e5e36687ab | |
|
|
604f19a9ea | |
|
|
44ade697bf |
|
|
@ -272,9 +272,9 @@ case "$gitstatus_kernel" in
|
|||
gitstatus_cxxflags="$gitstatus_cxxflags -I"$brew_prefix"/opt/libiconv/include"
|
||||
fi
|
||||
libgit2_cmake_flags="$libgit2_cmake_flags -DUSE_ICONV=ON"
|
||||
gitstatus_ldlibs="$gitstatus_ldlibs -liconv"
|
||||
gitstatus_ldlibs="$gitstatus_ldlibs -liconv -lz"
|
||||
gitstatus_ldflags="$gitstatus_ldflags -L${workdir}/lib"
|
||||
libgit2_cmake_flags="$libgit2_cmake_flags -DENABLE_REPRODUCIBLE_BUILDS=OFF"
|
||||
libgit2_cmake_flags="$libgit2_cmake_flags -DENABLE_REPRODUCIBLE_BUILDS=OFF -DUSE_BUNDLED_ZLIB=OFF"
|
||||
;;
|
||||
msys*|mingw*)
|
||||
gitstatus_ldflags="$gitstatus_ldflags ${static_pie:--static}"
|
||||
|
|
@ -551,6 +551,7 @@ if [ -z "$gitstatus_cpu" ]; then
|
|||
arm64|aarch64) gitstatus_cpu=armv8-a;;
|
||||
ppc64|ppc64le) gitstatus_cpu=powerpc64le;;
|
||||
riscv64) gitstatus_cpu=rv64imafdc;;
|
||||
mips64) gitstatus_cpu=mips64;;
|
||||
loongarch64) gitstatus_cpu=loongarch64;;
|
||||
x86_64|amd64) gitstatus_cpu=x86-64;;
|
||||
x86) gitstatus_cpu=i586;;
|
||||
|
|
|
|||
|
|
@ -8496,7 +8496,8 @@ _p9k_init_ssh() {
|
|||
|
||||
# When changing user on a remote system, the $SSH_CONNECTION environment variable can be lost.
|
||||
# Attempt detection via `who`.
|
||||
(( $+commands[who] )) || return
|
||||
[[ -z "$(command -v who)" ]] && return
|
||||
#(( $+commands[who] )) || return
|
||||
|
||||
local ipv6='(([0-9a-fA-F]+:)|:){2,}[0-9a-fA-F]+' # Simplified, only checks partial pattern.
|
||||
local ipv4='([0-9]{1,3}\.){3}[0-9]+' # Simplified, allows invalid ranges.
|
||||
|
|
|
|||
Loading…
Reference in New Issue