Hello guys from a noob!
I have ubuntu 14.04.
I want to hide the path at Terminal and for that reason I typed the export PS1='> ' command which I found online with positive result.
I thought to make it to a shell-script in order to not type it every time I open the terminal. So I created a .sh file and wrote the following code inside:
#!/bin/sh
export PS1='> '
When I am ruing it, typing bash ./hidepath.sh, it has no effect. What I am missing here?
برچسب:
نویسنده: استخدام کار