@ -80,6 +80,9 @@ function set-titles-with-command {
# Sets the tab and window titles with a given path.
function set-titles-with-path {
emulate -L zsh
setopt EXTENDED_GLOB
local absolute_path="${${1:a}:-$PWD}"
if [[ "$TERM_PROGRAM" == 'Apple_Terminal' ]]; then