Update .config/shell/aliasrc
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user