diff --git a/.bashrc b/.bashrc index 59bf6f4..5a87961 100644 --- a/.bashrc +++ b/.bashrc @@ -45,6 +45,8 @@ alias serial="sudo tio -a latest" alias t="wd" +alias look="l | grep" + function y() { local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd yazi "$@" --cwd-file="$tmp" diff --git a/.zshrc b/.zshrc index 198361b..44a02ce 100755 --- a/.zshrc +++ b/.zshrc @@ -163,6 +163,8 @@ alias t="wd" alias weather="curl https://wttr.in/" +alias look="l | grep" + function y() { local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd yazi "$@" --cwd-file="$tmp"