mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
use https everywhere (#6574)
* use https everywhere * use https links on the files that are left Also, removed some broken links and updated redirections.
This commit is contained in:
parent
e934624b32
commit
19b925e741
102 changed files with 187 additions and 199 deletions
|
|
@ -241,7 +241,7 @@ if [[ ! -z "$playlist" ]]; then
|
|||
|
||||
case "$state" in
|
||||
on|off)
|
||||
# Inspired by: http://stackoverflow.com/a/14675583
|
||||
# Inspired by: https://stackoverflow.com/a/14675583
|
||||
osascript 1>/dev/null 2>&1 <<-EOF
|
||||
tell application "System Events" to perform action "AXPress" of (menu item "${state}" of menu "Shuffle" of menu item "Shuffle" of menu "Controls" of menu bar item "Controls" of menu bar 1 of application process "iTunes" )
|
||||
EOF
|
||||
|
|
|
|||
|
|
@ -408,7 +408,7 @@ while [ $# -gt 0 ]; do
|
|||
uri=`osascript -e 'tell application "Spotify" to spotify url of current track'`;
|
||||
remove='spotify:track:'
|
||||
url=${uri#$remove}
|
||||
url="http://open.spotify.com/track/$url"
|
||||
url="https://open.spotify.com/track/$url"
|
||||
|
||||
if [ "$2" = "" ]; then
|
||||
cecho "Spotify URL: $url"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue