Simos <simos.li...@googlemail.com> wrote: > alias -- ../='cd ..' > alias -- .../='cd ../..' > alias -- /='cd /'
You can do those as shell functions: ../() { cd ../; } .../() { cd ../..; } /() { cd /; } > 2. An issue with PS1 is that there is no \w or \W version that can > expand the ~. My aim is to get to show the full pathname at all times. Use $PWD. I don't know about #3 or #4. > 5. Is there an option in bash to print the exit value of commands? You can use $? or ${pipestat...@]} in $PS1 or $PROMPT_COMMAND. paul