diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 21:00:08 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 21:00:08 +1200 |
commit | c8b245cb24a6f303d2952e00390830865b3026d0 (patch) | |
tree | 8fb6e204732ad9c224cd18e8a865e7198daf7d82 /sh | |
parent | Unbold params in dub(1) man synopsis (diff) | |
download | dotfiles-c8b245cb24a6f303d2952e00390830865b3026d0.tar.gz dotfiles-c8b245cb24a6f303d2952e00390830865b3026d0.zip |
Set POSIX PS1 in a less silly way
Diffstat (limited to 'sh')
-rw-r--r-- | sh/shrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ esac # Basic PS1 for POSIX shell; if we're using something more advanced, something # in ~/.shrc.d should overrule this. Does every POSIX shell support these? dash # does, at least. -PS1=$(printf '%s@%s$ ' "$(whoami)" "$(hostname -s)") +PS1=$(whoami)'@'$(hostname -s)'$ ' # Load all the POSIX-compatible functions from ~/.shrc.d; more advanced shells # like bash will have their own functions |