chore: Switch trunk to main

Also, upgrade copyright notice.
This commit is contained in:
Raphael Reitzig 2023-06-27 00:26:16 +02:00
parent 09607e310b
commit 8ce96da370
6 changed files with 13 additions and 7 deletions

View file

@ -2,10 +2,10 @@ name: "CodeQL"
on: on:
push: push:
branches: [ "master" ] branches: [ "main" ]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [ "master" ] branches: [ "main" ]
schedule: schedule:
- cron: '18 11 * * 3' - cron: '18 11 * * 3'

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2018-2022 Raphael Reitzig Copyright (c) 2018-2023 Raphael Reitzig
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -1,9 +1,9 @@
# SDKMAN! for fish # SDKMAN! for fish
[![license](https://img.shields.io/github/license/reitzig/sdkman-for-fish.svg)](https://github.com/reitzig/sdkman-for-fish/blob/master/LICENSE) [![license](https://img.shields.io/github/license/reitzig/sdkman-for-fish.svg)](https://github.com/reitzig/sdkman-for-fish/blob/main/LICENSE)
[![release](https://img.shields.io/github/release/reitzig/sdkman-for-fish.svg)](https://github.com/reitzig/sdkman-for-fish/releases/latest) [![release](https://img.shields.io/github/release/reitzig/sdkman-for-fish.svg)](https://github.com/reitzig/sdkman-for-fish/releases/latest)
[![GitHub release date](https://img.shields.io/github/release-date/reitzig/sdkman-for-fish.svg)](https://github.com/reitzig/sdkman-for-fish/releases) [![GitHub release date](https://img.shields.io/github/release-date/reitzig/sdkman-for-fish.svg)](https://github.com/reitzig/sdkman-for-fish/releases)
[![Test](https://github.com/reitzig/sdkman-for-fish/workflows/Tests/badge.svg?branch=master&event=push)](https://github.com/reitzig/sdkman-for-fish/actions?query=workflow%3ATests+branch%3Amaster+event%3Apush++) [![Test](https://github.com/reitzig/sdkman-for-fish/workflows/Tests/badge.svg?branch=main&event=push)](https://github.com/reitzig/sdkman-for-fish/actions?query=workflow%3ATests+branch%3Amain+event%3Apush++)
[![CodeQL](https://github.com/reitzig/sdkman-for-fish/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/reitzig/sdkman-for-fish/actions/workflows/codeql-analysis.yml) [![CodeQL](https://github.com/reitzig/sdkman-for-fish/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/reitzig/sdkman-for-fish/actions/workflows/codeql-analysis.yml)
Makes command `sdk` from [SDKMAN!] usable from [fish], including auto-completion. Makes command `sdk` from [SDKMAN!] usable from [fish], including auto-completion.

View file

@ -1,6 +1,6 @@
# Defines autocompletion for SDKMAN! # Defines autocompletion for SDKMAN!
# Copyright (c) 2018-2022 Raphael Reitzig # Copyright (c) 2018-2023 Raphael Reitzig
# MIT License (MIT) # MIT License (MIT)
# https://github.com/reitzig/sdkman-for-fish # https://github.com/reitzig/sdkman-for-fish

View file

@ -3,7 +3,7 @@
# Makes command and binaries from SDKMAN! available in fish. # Makes command and binaries from SDKMAN! available in fish.
# Delegates to bash for the `sdk` command. # Delegates to bash for the `sdk` command.
# Copyright (c) 2018-2022 Raphael Reitzig # Copyright (c) 2018-2023 Raphael Reitzig
# MIT License (MIT) # MIT License (MIT)
# https://github.com/reitzig/sdkman-for-fish # https://github.com/reitzig/sdkman-for-fish

View file

@ -1,3 +1,9 @@
# Wrapper function for SDKMAN!
# Copyright (c) 2018-2023 Raphael Reitzig
# MIT License (MIT)
# https://github.com/reitzig/sdkman-for-fish
function sdk -d "Manage SDKs" function sdk -d "Manage SDKs"
# Guard: SDKMAN! needs to be installed # Guard: SDKMAN! needs to be installed
if not test -f "$__fish_sdkman_init" if not test -f "$__fish_sdkman_init"