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