Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8ffd21b

Browse files
author
Mostafa Kamal
committed
read
1 parent 2b69366 commit 8ffd21b

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

‎snippets/bash.cson‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
's-read -> bash':
2424
'prefix': 's-read',
2525
'body': """
26-
read -p "your Q?"qs
26+
read -p "your number `echo $'\n>> '`"
2727
"""
2828
'var set -> bash':
2929
'prefix': 's-var',
@@ -68,6 +68,11 @@
6868
'body': """
6969
${array_list[1ドル]}
7070
"""
71+
'array size -> bash':
72+
'prefix': 's-arrsize',
73+
'body': """
74+
${#array_list1ドル}
75+
"""
7176
'array slice -> bash':
7277
'prefix': 's-arrayslice',
7378
'body': """
@@ -279,3 +284,14 @@
279284
'body': """
280285
export PATH=file1ドル:$PATH
281286
"""
287+
288+
'alias -> bash':
289+
'prefix': 's-alias',
290+
'body': """
291+
alias me='1ドル'
292+
"""
293+
'eval -> bash':
294+
'prefix': 's-eval',
295+
'body': """
296+
eval 1ドル
297+
"""

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /