Fix stock Slackware bash-prompt to show current directories
issue at the command line the following command:
or add the . /etc/profile line to .bashrc file with your favorite editor to make it constant (dont forget theres a space between the . and /)
To have immediate results after doing the above, or if it doesnt work for some reason or errored, issue command below:
example:
before - bash-4.1$
after - user@Slackware:~/Downloads$ (success)
$ . /etc/profile
or add the . /etc/profile line to .bashrc file with your favorite editor to make it constant (dont forget theres a space between the . and /)
To have immediate results after doing the above, or if it doesnt work for some reason or errored, issue command below:
$ source .bashrcread bash man.
$ man bash
example:
before - bash-4.1$
after - user@Slackware:~/Downloads$ (success)
0 comments:
Post a Comment