@@ -65,6 +65,7 @@ fn open(cx: &mut compositor::Context, args: &[Cow<str>], event: PromptEvent) ->
65 ensure!(!args.is_empty(), "wrong argument count");
65 ensure!(!args.is_empty(), "wrong argument count");
66 for arg in args {
66 for arg in args {
67 let (path, pos) = args::parse_file(arg);
67 let (path, pos) = args::parse_file(arg);
68+ let path = helix_core::path::expand_tilde(&path);
68 // If the path is a directory, open a file picker on that directory and update the status
69 // If the path is a directory, open a file picker on that directory and update the status
69 // message
70 // message
70 if let Ok(true) = std::fs::canonicalize(&path).map(|p| p.is_dir()) {
71 if let Ok(true) = std::fs::canonicalize(&path).map(|p| p.is_dir()) {