3 ms·
You can set this up to work the same way with the recent abbr changes, and I believe they may add it as a default in the future. function last_history_item;
by rileymichael 3y ago
You can set this up to work the same way with the recent abbr changes, and I believe they may add it as a default in the future.
function last_history_item; echo $history[1]; end
abbr -a !! --position anywhere --function last_history_item
source: https://fishshell.com/docs/current/relnotes.html#id1 https://fishshell.com/docs/current/relnotes.html#id1