mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
44 lines
1.5 KiB
Ruby
44 lines
1.5 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.3.3'
|
|
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: 'fb457947d6a2b05927567eb1b845becaffbefcec49c39958788160d82468fb69',
|
|
armv7l: 'fb457947d6a2b05927567eb1b845becaffbefcec49c39958788160d82468fb69',
|
|
i686: '16b2485ab754a25cc355909bc3f334eee1de130112fc6935a6d18d93356c248c',
|
|
x86_64: 'd6ad3339dd5b8069e9cdc446ecd19131afb36b3959c15d80fea36e942103640c'
|
|
})
|
|
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'pcre2' # R
|
|
|
|
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
|