mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* fish -> 4.6.0 in updater-fish-4.6.0 * updater-fish-4.6.0: Package File Update Run on linux/386 container. * updater-fish-4.6.0: Package File Update Run on linux/amd64 container. * updater-fish-4.6.0: Package File Update Run on linux/arm/v7 container. --------- Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <220035932+chromebrew-actions[bot]@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
44 lines
1.6 KiB
Ruby
44 lines
1.6 KiB
Ruby
require 'buildsystems/cmake'
|
|
|
|
class Fish < CMake
|
|
description 'fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family.'
|
|
homepage 'https://fishshell.com/'
|
|
version '4.6.0'
|
|
license 'GPL-2'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/fish-shell/fish-shell.git'
|
|
git_hashtag version
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '91335854fb8d5e06a519185b0fa27d1b9aad728e6fd5b2c0b82bb6bc4608158c',
|
|
armv7l: '91335854fb8d5e06a519185b0fa27d1b9aad728e6fd5b2c0b82bb6bc4608158c',
|
|
i686: '625e12715ca9355bfd8a8c137063df5a8c865f41bd84c3b4497ff1c67e3fd5de',
|
|
x86_64: '1b006909f522ab653538cfd41ad87030c0995073fbeb94465ffd63cf3418ea34'
|
|
})
|
|
|
|
depends_on 'gcc_lib' => :executable
|
|
depends_on 'glibc' => :executable
|
|
depends_on 'pcre2' => :executable
|
|
|
|
cmake_options "-DCURSES_INCLUDE_PATH=#{CREW_PREFIX}/include/ncurses"
|
|
|
|
def self.postinstall
|
|
ExitMessage.add <<~EOT1.lightblue
|
|
To run fish, type `fish` in your terminal.
|
|
Even if you are already in fish, you should now start a new fish session.
|
|
|
|
To use fish as your login shell:
|
|
* add the line '#{CREW_PREFIX}/bin/fish' to the file '#{CREW_PREFIX}/etc/shells':
|
|
echo '#{CREW_PREFIX}/bin/fish' | tee -a #{CREW_PREFIX}/etc/shells > /dev/null
|
|
* run 'chsh -s #{CREW_PREFIX}/bin/fish'
|
|
|
|
To set your colors, run `fish_config`
|
|
To scan your man pages for completions, run `fish_update_completions`
|
|
To accept autosuggestions (in grey) as you type, hit `ctrl-F` or right arrow key.
|
|
|
|
Have fun! <><
|
|
EOT1
|
|
end
|
|
end
|