Fish shell is not started in login mode
By kolja.k... on October 19, 2013 17:14 (imported from Google Code)
What steps will reproduce the problem?
- Install fish 2.0 (via homebrew in my case)
- Set your default shell to fish (chsh /usr/local/bin/fish)
- Open a new iTerm2 window with the command set to "Login shell"
- Check if your shell is a login shell (via fish's What steps will reproduce the problem?
- Install fish 2.0 (via homebrew in my case)
- Set your default shell to fish (chsh /usr/local/bin/fish)
- Open a new iTerm2 window with the command set to "Login shell"
- Check if your shell is a login shell (via fish's status --is-loginWhat steps will reproduce the problem?
- Install fish 2.0 (via homebrew in my case)
- Set your default shell to fish (chsh /usr/local/bin/fish)
- Open a new iTerm2 window with the command set to "Login shell"
- Check if your shell is a login shell (via fish's `status --is-login)
What is the expected output? What do you see instead?
The command returns 0, it should return 1. When I enter tmux fish is started as a login shell.
What version of the product are you using? On what operating system?
iTerm2 1.0.0.20130811, OS X 10.8.5
Due to this, my PATH does not get added to, which hides a lot of installed software (especially homebrew and rbenv stuff).
When I choose "Command: What steps will reproduce the problem?
- Install fish 2.0 (via homebrew in my case)
- Set your default shell to fish (chsh /usr/local/bin/fish)
- Open a new iTerm2 window with the command set to "Login shell"
- Check if your shell is a login shell (via fish's
status --is-login
)
What is the expected output? What do you see instead?
The command returns 0, it should return 1. When I enter tmux fish is started as a login shell.
What version of the product are you using? On what operating system?
iTerm2 1.0.0.20130811, OS X 10.8.5
Due to this, my PATH does not get added to, which hides a lot of installed software (especially homebrew and rbenv stuff).
When I choose "Command: /usr/local/bin/fish -lWhat steps will reproduce the problem?
- Install fish 2.0 (via homebrew in my case)
- Set your default shell to fish (chsh /usr/local/bin/fish)
- Open a new iTerm2 window with the command set to "Login shell"
- Check if your shell is a login shell (via fish's
status --is-login
)
What is the expected output? What do you see instead?
The command returns 0, it should return 1. When I enter tmux fish is started as a login shell.
What version of the product are you using? On what operating system?
iTerm2 1.0.0.20130811, OS X 10.8.5
Due to this, my PATH does not get added to, which hides a lot of installed software (especially homebrew and rbenv stuff).
When I choose "Command: `/usr/local/bin/fish -l" instead of "Login shell", everything works fine. Terminal.app also starts fish the right way.