Skip to content

Instantly share code, notes, and snippets.

@webkenny
Created September 3, 2016 17:03
Show Gist options
  • Save webkenny/db6689ed0b033d6f3eeb58ef068fa20d to your computer and use it in GitHub Desktop.
Save webkenny/db6689ed0b033d6f3eeb58ef068fa20d to your computer and use it in GitHub Desktop.
Debug Output
Last login: Sat Sep 3 12:46:48 on ttys002
+prompt_powerlevel9k_setup:24> [[ $(whence -w prompt_powerlevel9k_setup) -regex-match "function"+prompt_powerlevel9k_setup:24> whence -w prompt_powerlevel9k_setup
+prompt_powerlevel9k_setup:24> [[ $(whence -w prompt_powerlevel9k_setup) -regex-match "function" ]]
+prompt_powerlevel9k_setup:25> autoload -U is-at-least
+prompt_powerlevel9k_setup:26> is-at-least 5.0.8
+is-at-least:17> emulate -L zsh
+is-at-least:19> local 'IFS=.-' 'min_cnt=0' 'ver_cnt=0' part min_ver version
+is-at-least:21> min_ver=( 5 0 8 )
+is-at-least:22> version=( 5 0 8 0 )
+is-at-least:24> (( 0 <= 3 ))
+is-at-least:25> [[ '' != <-> ]]
+is-at-least:26> (( ++ver_cnt > 4 ))
+is-at-least:27> part=5
+is-at-least:25> [[ 5 != <-> ]]
+is-at-least:30> true
+is-at-least:31> (( ++min_cnt > 3 ))
+is-at-least:32> [[ 5 == <-> ]]
+is-at-least:32> break
+is-at-least:35> (( part > min_ver[min_cnt] ))
+is-at-least:36> (( part < min_ver[min_cnt] ))
+is-at-least:37> part=''
+is-at-least:24> (( 1 <= 3 ))
+is-at-least:25> [[ '' != <-> ]]
+is-at-least:26> (( ++ver_cnt > 4 ))
+is-at-least:27> part=0
+is-at-least:25> [[ 0 != <-> ]]
+is-at-least:30> true
+is-at-least:31> (( ++min_cnt > 3 ))
+is-at-least:32> [[ 0 == <-> ]]
+is-at-least:32> break
+is-at-least:35> (( part > min_ver[min_cnt] ))
+is-at-least:36> (( part < min_ver[min_cnt] ))
+is-at-least:37> part=''
+is-at-least:24> (( 2 <= 3 ))
+is-at-least:25> [[ '' != <-> ]]
+is-at-least:26> (( ++ver_cnt > 4 ))
+is-at-least:27> part=8
+is-at-least:25> [[ 8 != <-> ]]
+is-at-least:30> true
+is-at-least:31> (( ++min_cnt > 3 ))
+is-at-least:32> [[ 8 == <-> ]]
+is-at-least:32> break
+is-at-least:35> (( part > min_ver[min_cnt] ))
+is-at-least:36> (( part < min_ver[min_cnt] ))
+is-at-least:37> part=''
+is-at-least:24> (( 3 <= 3 ))
+is-at-least:25> [[ '' != <-> ]]
+is-at-least:26> (( ++ver_cnt > 4 ))
+is-at-least:27> part=0
+is-at-least:25> [[ 0 != <-> ]]
+is-at-least:30> true
+is-at-least:31> (( ++min_cnt > 3 ))
+is-at-least:31> return 0
+prompt_powerlevel9k_setup:28> 0=+prompt_powerlevel9k_setup:28> whence -v prompt_powerlevel9k_setup
+prompt_powerlevel9k_setup:28> 0=+prompt_powerlevel9k_setup:28> sed 's/prompt_powerlevel9k_setup is a shell function from //'
+prompt_powerlevel9k_setup:28> 0=/Users/kenny.silanskas/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup
+prompt_powerlevel9k_setup:52> [[ -L prompt_powerlevel9k_setup ]]
+prompt_powerlevel9k_setup:55> [[ -f prompt_powerlevel9k_setup ]]
+prompt_powerlevel9k_setup:59> print -P '%F{red}Script location could not be found!%f'
Script location could not be found!
+prompt_powerlevel9k_setup:60> return 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment