Files
dotfiles/config/shell/functions
T
venomade d422bc2b77 Before the Return of the Mac
Asahi Bugs
- Forked GL is very annoying to deal with
- Fairydust branch requires 8GB of RAM for display
- AArch64 Linux is not very compatible with much software
- DRM and other video related things are buggy/do not work
- Updating can often break fairydust
2026-04-08 15:07:12 +01:00

21 lines
409 B
Plaintext

gvc() {
if [[ $1 == "clone" ]]; then
shift
git clone git@git.venomade.com:"$@"
else
ssh git@git.venomade.com "$@"
fi
}
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
command yazi "$@" --cwd-file="$tmp"
IFS= read -r -d '' cwd < "$tmp"
[ "$cwd" != "$PWD" ] && [ -d "$cwd" ] && builtin cd -- "$cwd"
rm -f -- "$tmp"
}
function pcd() {
cd "$(project)"
}