Files
chromebrew/packages/fish.rb
chromebrew-actions[bot] 38439537ab gparted -> 1.8.1 in updater-gparted-1.8.1 — gparted: 1.8.0 → 1.8.1 (#15055)
* gparted -> 1.8.1 in updater-gparted-1.8.1

* updater-gparted-1.8.1: Package File Update Run on linux/amd64 container.

* updater-gparted-1.8.1: Package File Update Run on linux/arm/v7 container.

* updater-gparted-1.8.1: Package File Update Run on linux/amd64 container.

* Cleanup gparted.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update dependencies to use :executable instead of :executable_only

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2026-03-19 00:13:29 +00:00

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.5.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: '3eb2d939245dabca55f687f04c825424f5a911246d312cd8bcf1ae179641b00c',
armv7l: '3eb2d939245dabca55f687f04c825424f5a911246d312cd8bcf1ae179641b00c',
i686: '72d31b98be41f2bfcfeb36a54c9c2187f40ef68e56874339fad18864b1305dae',
x86_64: 'bec1490c7dc58aa72fc2facb04a8e6c5aa76e43597e0a3c5917745aed4d753f0'
})
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