fork/home-manager
git clone https://git.julia.blue/fork/home-manager
90e62f96
master
1{ ...} : 2 3let 4shellIntegration = '' 5function ya() { 6tmp="$(mktemp -t "yazi-cwd.XXXXX")" 7yazi --cwd-file="$tmp" 8if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then 9cd -- "$cwd" 10fi 11rm -f -- "$tmp" 12} 13'' ; 14in { 15programs . zsh . enable = true ; 16 17programs . yazi = { 18enable = true ; 19enableBashIntegration = true ; 20}; 21 22test . stubs . yazi = { }; 23 24nmt . script = '' 25assertFileContains home-files/.zshrc ' ${ shellIntegration } ' 26'' ; 27}