Update .config/shell/aliasrc

This commit is contained in:
2025-11-12 09:28:25 +00:00
parent fc7d0d9c92
commit 629e6115d6

View File

@@ -97,9 +97,9 @@ alias \
alias \
sail='[ -f sail ] && sh sail || sh vendor/bin/sail' \
yi="yarn install" \
yr="yarn" \
y="yarn" \
ci="composer install" \
cm="composer" \
c="composer" \
tk="go-task" \
mux="tmuxinator" \
mex="tmuxinator stop-all" \
@@ -174,7 +174,7 @@ function git_main_branch() {
}
# Yazi shortcut that allows setting the current working directory on exit
function y() {
function yz() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
yazi "$@" --cwd-file="$tmp"
IFS= read -r -d '' cwd < "$tmp"