diff options
author | Janosch Schwalm <janosch.schwalm@gmail.com> | 2018-08-07 20:42:02 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-08-07 20:42:01 +0200 |
commit | 19b925e741fa46d2222210469a4dffc34a634ebd (patch) | |
tree | 7a426724df64bdfcbe68d1688cb08c0f51e600a7 /plugins/osx | |
parent | e934624b32f8c370306355ab8a78667a5a6240d3 (diff) | |
download | zsh-19b925e741fa46d2222210469a4dffc34a634ebd.tar.gz zsh-19b925e741fa46d2222210469a4dffc34a634ebd.tar.bz2 zsh-19b925e741fa46d2222210469a4dffc34a634ebd.zip |
use https everywhere (#6574)
* use https everywhere
* use https links on the files that are left
Also, removed some broken links and updated redirections.
Diffstat (limited to 'plugins/osx')
-rw-r--r-- | plugins/osx/osx.plugin.zsh | 2 | ||||
-rw-r--r-- | plugins/osx/spotify | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index b7d6aca72..d99cf0b1e 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -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 diff --git a/plugins/osx/spotify b/plugins/osx/spotify index 69f6c5419..2ab98d3a0 100644 --- a/plugins/osx/spotify +++ b/plugins/osx/spotify @@ -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" |