summaryrefslogtreecommitdiffstats
path: root/dist/etc
diff options
context:
space:
mode:
authorRory Dudley2024-03-30 23:36:58 -0600
committerRory Dudley2024-03-30 23:36:58 -0600
commitc433dd2c400d9f2e8421f074be1b287d27b709df (patch)
tree747f279c1d07fedb88a3a078669229a60ba16a9c /dist/etc
parent2534e480bf4de2101f390beded67493565913238 (diff)
downloaddwarvish-c433dd2c400d9f2e8421f074be1b287d27b709df.tar.gz
Use $PS1 for the prompt
Instead of passing a hard-coded value for the prompt, use $PS1. The default is '|> ', set in dist/etc/dwvshrc.
Diffstat (limited to 'dist/etc')
-rw-r--r--dist/etc/dwvshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/etc/dwvshrc b/dist/etc/dwvshrc
index efb3f3d..7f7314e 100644
--- a/dist/etc/dwvshrc
+++ b/dist/etc/dwvshrc
@@ -1,3 +1,7 @@
#!/usr/bin/env dwvsh
+# Default path
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
+
+# Default prompt
+export PS1="|> "