mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-12 20:31:00 +01:00
Compare commits
2 Commits
f97e871c33
...
bea0dd2ca0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bea0dd2ca0 | ||
|
|
34e9830dd3 |
@@ -146,6 +146,16 @@ case $state in
|
||||
(help)
|
||||
_arguments ':feature:__task_list'
|
||||
;;
|
||||
(format)
|
||||
_arguments -C \
|
||||
'--check-formatted' \
|
||||
'--dot-formatter' \
|
||||
'--dry-run' \
|
||||
'--force' \
|
||||
'--migrate' \
|
||||
'--no-exit' \
|
||||
'*::file:_files'
|
||||
;;
|
||||
(test)
|
||||
_files
|
||||
;;
|
||||
|
||||
@@ -8,7 +8,7 @@ function quote {
|
||||
|
||||
# Get random quote data
|
||||
local data
|
||||
data="$(command curl -s --connect-timeout 2 "http://www.quotationspage.com/random.php" \
|
||||
data="$(command curl -s --connect-timeout 2 "https://www.quotationspage.com/random.php" \
|
||||
| iconv -c -f ISO-8859-1 -t UTF-8 \
|
||||
| command grep -a -m 1 'dt class="quote"')"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user