I'm new to bash and would like my prompt to show something that in tcsh was trivial, yet after a good google search I still cannot do.I would like my prompt to include only the current and parent directories like this:/parent/currentdir $In tcsh this is achieved by:set prompt = %C2 %However in bash so far I have only found that I have to parse pwd to obtain the same output.Isn't there a simpler way, like doing:export PS1=$(some_command) $ 
Show only current and parent directory in bash prompt
bash;prompt