From 718887c3019c49fc807bc18fbd5feb975ec03c85 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Thu, 17 Apr 2014 22:23:07 -0500 Subject: Ruby,Python,C#: readline history fixes. Ruby include path. --- cs/getline.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cs') 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]; -- cgit v1.2.3