Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

figuring out home dir on unix systems as well

  • Loading branch information...
commit f1af41589960f7fc98d270c70a80b351b703e53e 1 parent da0cc37
@fred-o fred-o authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugins/screen/screen.plugin.zsh
View
2  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/\..*//"'
Please sign in to comment.
Something went wrong with that request. Please try again.