Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelarie committed Oct 10, 2024
1 parent d6907af commit bb75860
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/syntax_tree/alias.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ fn extract_alias(
let alias_content = alias_content_node
.utf8_text(source)
.unwrap()
// TODO: Check all the cases for quotting in the Bash reference manual:
// https://www.gnu.org/software/bash/manual/html_node/Quoting.html
// and implement a unquote content fn
.trim_matches('\'');

Some((alias_name.to_string(), alias_content.to_string()))
Expand Down

0 comments on commit bb75860

Please sign in to comment.