Skip to content

Commit 7c0890f

Browse files
committed
[fix] starter config
1 parent 7a06c31 commit 7c0890f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

lib/features/configure/defaults.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ignore_for_file: unnecessary_string_escapes
22

3-
final defaultsYaml='''commands:
3+
final defaultsYaml=r'''commands:
44
j:
55
name: apps
66
children:
@@ -34,6 +34,6 @@ final defaultsYaml='''commands:
3434
# hooks:
3535
# preRun:
3636
# #this emits the shortcut to hide the terminal window
37-
# - say 'good job \$USER'
37+
# - say 'good job $USER'
3838
# - command: osascript -e 'tell application "System Events" to key code 24 using {shift down, control down}'
3939
''';

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: terrun
22
description: terrun - efficient terminal runner
3-
version: 0.0.7
3+
version: 0.0.8
44
repository: https://github.com/mikeborodin/menusc
55

66
environment:

scripts/generate_defaults.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ yaml=`cat terrun.starter.yaml`
22

33
echo "// ignore_for_file: unnecessary_string_escapes
44
5-
final defaultsYaml='''$yaml
5+
final defaultsYaml=r'''$yaml
66
''';" > lib/features/configure/defaults.dart

terrun.starter.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ commands:
44
children:
55
j:
66
name: Chrome
7-
command: open -a Google\\ Chrome.app
7+
command: open -a Google\ Chrome.app
88
t:
99
name: Telegram
1010
command: open -a telegram
@@ -16,7 +16,7 @@ commands:
1616
command: open -a slack
1717
d:
1818
name: VSCode
19-
command: open -a Visual\\ Studio\\ Code.app
19+
command: open -a Visual\ Studio\ Code.app
2020

2121
# todo(user): customize it
2222
# f:
@@ -32,5 +32,5 @@ commands:
3232
# hooks:
3333
# preRun:
3434
# #this emits the shortcut to hide the terminal window
35-
# - say 'good job \$USER'
35+
# - say 'good job $USER'
3636
# - command: osascript -e 'tell application "System Events" to key code 24 using {shift down, control down}'

0 commit comments

Comments
 (0)