git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b139e97
)
Don't break SCREENDIR.
author
Iain Patterson
<me@iain.cx>
Tue, 23 Mar 2010 16:58:55 +0000
(16:58 +0000)
committer
Iain Patterson
<me@iain.cx>
Wed, 24 Mar 2010 15:17:18 +0000
(15:17 +0000)
Use $HOME not ~ as the directory name is quoted.
.profile.d/screen.bashrc
patch
|
blob
|
history
diff --git
a/.profile.d/screen.bashrc
b/.profile.d/screen.bashrc
index
beba505
..
c2b1014
100644
(file)
--- a/
.profile.d/screen.bashrc
+++ b/
.profile.d/screen.bashrc
@@
-6,7
+6,7
@@
if [ $? = 0 ]; then
if [ -n "$SUDO_USER" ]; then
unset SCREENDIR
else
- export SCREENDIR="
~
/.screen/$HOSTNAME"
+ export SCREENDIR="
$HOME
/.screen/$HOSTNAME"
mkdir -p "$SCREENDIR"
fi
fi