From 3cb886859e9b4df4ece183583dfd8b5ba7a59584 Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Thu, 20 Apr 2023 16:57:48 +0100 Subject: Adds some shorthands for substituting the beginning and end of the path register --- main/lex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/lex.go') diff --git a/main/lex.go b/main/lex.go index 2826b1e..ecb0d3d 100644 --- a/main/lex.go +++ b/main/lex.go @@ -179,7 +179,7 @@ func lexCommand(l *lexer) stateFunc { case '}': l.emit(TokenRBrace) return lexCommand - case 's', 'S': + case 's', 'S', 'f', 'F', 'l', 'L': l.emit(TokenCommand) return lexSubstitution } -- cgit v1.2.3