Last active
May 27, 2016 22:32
-
-
Save alexandregz/e7be9e6a84a1d2c20f94 to your computer and use it in GitHub Desktop.
to add to .profile (ash shell used with Synology NAS)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# place to git, ipkg, another shell commands | |
PATH=/volume1/@optware/bin:$PATH | |
export PATH | |
# more useful prompt shell | |
#PS1="`hostname`> " | |
PS1='\u@\h:\w' | |
case `id -u` in | |
0) PS1="${PS1}# ";; | |
*) PS1="${PS1}$ ";; | |
esac | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Explanation of how to edit the
.profile
(taken from an old version of this Gist):http://blog.arinium.fi/2012/09/howto-working-directory-in-synology-ds211j-shell-prompt/