Replies: 1 comment 3 replies
-
Here's the best solution I found so far. It's not pretty. In the Mac fish shell's abbr orb --set-cursor=% "orb % fish" or the uglier but safer (if you sometimes use Orbstack machines without fish) abbr orb --set-cursor=% "orb % sh -c 'fish || bash'" |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently usually doing
orb fish
to enter the Orbstack machine, but it's easy to forget about, so I'd rather change the default shell. However, it's unclear what the best way to do it is.I could use the default analogue to
chsh
inside the container, but I'm worried that then/etc/profile
might not be executed, as explained in https://fishshell.com/docs/current/#default-shell . In fact, after I tried it, variables like$__ETC_PROFILE_DONE
that get set in/etc/profile
disappeared from my environment.Another option is described in https://nixos.wiki/wiki/Fish#Setting_fish_as_your_shell, but it's a little elaborate.
I was thinking that there might be an
ORB_DEFAULT_COMMAND
environment variable, but I didn't see anything like that inorbctl shell --help
.Beta Was this translation helpful? Give feedback.
All reactions