Permalink
Browse files

figuring out home dir on unix systems as well

  • Loading branch information...
1 parent da0cc37 commit f1af41589960f7fc98d270c70a80b351b703e53e @fred-o fred-o committed Mar 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/screen/screen.plugin.zsh
@@ -2,7 +2,7 @@
# of the tab window should be.
if [[ $TERM == "screen" ]]; then
if [[ $_GET_PATH == '' ]]; then
- _GET_PATH='echo $PWD | sed "s/^\/Users\//~/;s/^~$USER/~/"'
+ _GET_PATH='echo $PWD | sed "s/^\/Users\//~/;s/^\/home\//~/;s/^~$USER/~/"'
fi
if [[ $_GET_HOST == '' ]]; then
_GET_HOST='echo $HOST | sed "s/\..*//"'

0 comments on commit f1af415

Please sign in to comment.