Skip to content

Commit

Permalink
[Fix sorin-ionescu#299] Set EXTENDED_GLOB in set-titles-with-path
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorin Ionescu authored and Fl4t committed Oct 6, 2012
1 parent 11e6917 commit 1f491bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/terminal/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f491bf

Please sign in to comment.