Hacker News new | ask | show | jobs
by RobertMiller 1554 days ago
You can execute zsh scripts from a fish command line, or any other. Where is the problem?
1 comments

Fish doesn't source /etc/profile{,.d}, so it won't pickup additional PATHs and other env vars that packages set there, for example.

A workaround is launching it from .bashrc/.zshrc or terminal. https://wiki.archlinux.org/title/Fish#Setting_fish_as_intera...

Here’s some solutions, I’ve written a few scripts for projects to pass aws okta tokens. Absolutely worth it to use fish IME. YMMV depending on complexity https://superuser.com/questions/446925/re-use-profile-for-fi...