Quando eseguo echo $SHELLl'output /bin/tcshindica che sto eseguendo una tcshshell. Ma per esempio quando emetto il seguente comando
alias emacs 'emacs -nw'
Ottengo il seguente errore:
bash: alias: emacs: not found
bash: alias: emacs -nw: not found
e quando emetto alias emacs="emacs -nw"funziona benissimo!
Questo è confuso dal momento che sto correndo tcshma i comandi sono interpretati da bash.
Quale potrebbe essere la ragione?
tcsh/cshha la sua shell attuale in$shell