Support shell with arguments [CLOSED]

Questions, glitches, bugs and crashes
Locked
cka3o4h1k
Posts: 30
Joined: Tue Sep 12, 2017 12:46 pm

Support shell with arguments [CLOSED]

Post by cka3o4h1k » Sun Jan 28, 2018 5:54 am

ZSH is great for many reason, including for fast navigate.
Prezto is a optimised configuration framework for ZSH, and not all plugs work inside NC.
I try to set zsh with adopted config, but with arguments (/usr/local/bin/zsh -d -f) Nimble Commander quit unexpectedly.
Any way to fix this?

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Support shell with arguments

Post by mike » Sat Feb 03, 2018 2:48 am

Well, at this point NC doesn't support custom shell parameters.

Isn't it possible to put a config file via bash style, like .bashrc?
Apple does this trick with bash and Terminal.app, take a look at these files:
/private/etc/bashrc
/private/etc/bashrc_Apple_Terminal

cka3o4h1k
Posts: 30
Joined: Tue Sep 12, 2017 12:46 pm

Re: Support shell with arguments

Post by cka3o4h1k » Mon Feb 05, 2018 6:45 pm

mike wrote:
Sat Feb 03, 2018 2:48 am
Isn't it possible to put a config file via bash style, like .bashrc?
Thank You. That's work

Code: Select all

if [[ $TERM_PROGRAM = "Nimble_Commander" ]]; then ; else

Locked