Replies: 2 comments 4 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
-
|
Why not just change your shell directly inside the vm? Note that I had to set a password for my account first: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently usually doing
orb fishto 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
chshinside the container, but I'm worried that then/etc/profilemight not be executed, as explained in https://fishshell.com/docs/current/#default-shell . In fact, after I tried it, variables like$__ETC_PROFILE_DONEthat get set in/etc/profiledisappeared 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_COMMANDenvironment variable, but I didn't see anything like that inorbctl shell --help.Beta Was this translation helpful? Give feedback.
All reactions