MacOS Nix
Asahi is just not perfectly usable yet. Moved stuff, went nix.
This commit is contained in:
1 parent
9d2c3f898a
commit
a568a964fd
80 files changed
+260
-1516
No files matched your search
@@ -0,0 +1,16 @@
|
||||
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"
|
||||
}
|
||||
Reference in new issue
Block a user