removed mcd.nix script and added it as a function to zshell.nix

This commit is contained in:
pagedmov
2024-10-29 23:56:36 -04:00
parent 34858683c1
commit 255fba2de5
3 changed files with 4 additions and 16 deletions

View File

@@ -114,6 +114,10 @@
return 0
}
mkcd() {
mkdir -p "$1" && cd "$1"
}
y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
yazi "$@" --cwd-file="$tmp"