Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Yazi: Fast terminal file manager based on async I/O. Parent comment
# Rename this file to match the name of the function
# e.g. ~/.config/fish/functions/ya.fish
# or, add the lines to the 'config.fish' file.
function ya
set tmp (mktemp -t "yazi-cwd.XXXXX") yazi --cwd-file="$tmp" if set cwd (cat -- "$tmp") && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ] cd -- "$cwd" end rm -f -- "$tmp"
There are no comments on this comment yet.
# Rename this file to match the name of the function
# e.g. ~/.config/fish/functions/ya.fish
# or, add the lines to the 'config.fish' file.
function ya
end