1
1
Fork 0

Bring zsh and fish back in sync

This commit is contained in:
Jonathan Schleifer 2022-11-25 22:16:50 +00:00
parent 84a7f938fb
commit fe8461f4b8
9 changed files with 81 additions and 46 deletions

6
zshrc
View file

@ -369,7 +369,7 @@ if __has_command gpg gpg2; then
local sock
if [ -d "$XDG_RUNTIME_DIR/gnupg" ]; then
sock=$(find $XDG_RUNTIME_DIR/gnupg -name S.gpg-agent.ssh |
sock=$(find "$XDG_RUNTIME_DIR/gnupg" -name S.gpg-agent.ssh |
head -1)
fi
[ -n "$sock" ] || sock="$GNUPGHOME/S.gpg-agent.ssh"
@ -567,12 +567,12 @@ cross() {
echo "Please set DEVKITPRO!"
return 1
fi
if [ -z $"DEVKITA64" ]; then
if [ -z "$DEVKITA64" ]; then
echo "Please set DEVKITA64!"
return 1
fi
export PATH="$DEVKITA64/bin:$PATH"
export PATH="$DEVKITA64/bin:$DEVKITPRO/tools/bin:$PATH"
export cross_host="aarch64-none-elf"
export objfw_configure_flags="--with-$1"
;;