tide/functions/_tide_pwd_set_max_length.fish
2020-07-06 09:40:46 -07:00

5 lines
164 B
Fish

function _tide_pwd_set_max_length -v tide_pwd_truncate_margin -s WINCH
set -g _tide_pwd_max_length (math $COLUMNS -$tide_pwd_truncate_margin)
_tide_pwd
end