Skip to content

Commit

Permalink
figuring out home dir on unix systems as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Appelberg committed Mar 9, 2011
1 parent da0cc37 commit f1af415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/screen/screen.plugin.zsh
Expand Up @@ -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/\..*//"'
Expand Down

0 comments on commit f1af415

Please sign in to comment.