aboutsummaryrefslogtreecommitdiff
path: root/cs
diff options
context:
space:
mode:
Diffstat (limited to 'cs')
-rw-r--r--cs/getline.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/cs/getline.cs b/cs/getline.cs
index b6dcf07..c11a11d 100644
--- a/cs/getline.cs
+++ b/cs/getline.cs
@@ -895,8 +895,9 @@ namespace Mono.Terminal {
throw new ArgumentException ("size");
if (app != null){
- string dir = Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData);
+ string dir = Environment.GetFolderPath (Environment.SpecialFolder.Personal);
//Console.WriteLine (dir);
+ /*
if (!Directory.Exists (dir)){
try {
Directory.CreateDirectory (dir);
@@ -906,6 +907,8 @@ namespace Mono.Terminal {
}
if (app != null)
histfile = Path.Combine (dir, app) + ".history";
+ */
+ histfile = Path.Combine (dir, ".mal-history");
}
history = new string [size];