Initial import: chezmoi source for Omarchy (Hyprland)
Imported from prdlk/dotfiles master (efdd827), which supersedes the omarchy branch (3031416). Drops the Umbriel, Noctalia, niri, CachyOS, macOS, and Blume docs-site layers; docs/ is plain Markdown.
This commit is contained in:
commit
b18729f4a0
163 files changed
+12685
No files matched your search
@@ -0,0 +1,11 @@
|
||||
# yazi wrapper: cd to the directory yazi was left in on exit.
|
||||
yy() {
|
||||
local tmp cwd
|
||||
tmp=$(mktemp -t "yazi-cwd.XXXXXX")
|
||||
command yazi "$@" --cwd-file="$tmp"
|
||||
cwd=$(cat -- "$tmp" 2>/dev/null)
|
||||
if [ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && [ -d "$cwd" ]; then
|
||||
builtin cd -- "$cwd"
|
||||
fi
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
Reference in new issue
Block a user