diff options
Diffstat (limited to '')
| -rwxr-xr-x | git-radar | 21 | 
1 files changed, 0 insertions, 21 deletions
| @@ -84,37 +84,16 @@ if [[ -z $@ ]]; then    echo "  end"    echo ""    echo "  Same as the Bash but for fish." -  echo "" -  echo "Fetch_t example:" -  echo "  export PS1=\"\\W\\\$(git-radar --bash --fetch_t 45) \""    exit  fi  while [[ $# > 0 ]];do    command="$1"    shift -  # Default fetch of 5 min    if [[ "$command" == "--fetch" ]]; then      nohup $dot/fetch.sh >/dev/null 2>&1 &    fi -  # Custom fetch of whatever time interval the user wants -  if [[ "$command" == "--fetch_t" ]]; then -    # Now $1 is the value for fetch_t -    # If value is not a number produce an error -    if ! [[ $1 =~ ^[0-9]+$ ]] ; then -      echo "" -      echo "Error: fetch_t did not receive a number" -      echo "Defaulting to 5 min." -      echo " " -      nohup $dot/fetch.sh >/dev/null 2>&1 & -    else -      command="$1" -      shift -      nohup $dot/fetch.sh $command >/dev/null 2>&1 & -    fi -  fi -    if [[ "$command" == "--zsh" ]]; then      $dot/prompt.zsh $args    fi | 
