summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Davis <tyler@gluecode.net>2024-05-10 16:38:22 +0000
committerTyler Davis <tyler@gluecode.net>2024-05-10 16:38:22 +0000
commit127d2e517d86c3a818ca054319880d6bf6522968 (patch)
treeebdce1e78be3c5f48ae79684b53c09632661bf32
parent8cbcef3e8aacae02d42697b60bb5f85299e21278 (diff)
downloaddotfiles-127d2e517d86c3a818ca054319880d6bf6522968.tar.gz
dotfiles-127d2e517d86c3a818ca054319880d6bf6522968.zip
sh: add prompt overrides
-rw-r--r--.bashrc2
-rw-r--r--.zshrc11
2 files changed, 9 insertions, 4 deletions
diff --git a/.bashrc b/.bashrc
index 6322438..d145b05 100644
--- a/.bashrc
+++ b/.bashrc
@@ -13,3 +13,5 @@ if [ -f "$HOME/.gcloud/google-cloud-sdk/path.bash.inc" ]; then . "$HOME/.gcloud/
# The next line enables shell command completion for gcloud.
if [ -f "$HOME/.gcloud/google-cloud-sdk/completion.bash.inc" ]; then . "$HOME/.gcloud/google-cloud-sdk/completion.bash.inc"; fi
+#== Prompt Override ==
+export PS1="\W$ "
diff --git a/.zshrc b/.zshrc
index 6ce7a9b..50e66bc 100644
--- a/.zshrc
+++ b/.zshrc
@@ -51,9 +51,11 @@ autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
-HISTFILE=~/.histfile
-HISTSIZE=10000
-SAVEHIST=10000
+
+export HISTFILE=~/.histfile
+export HISTSIZE=10000
+export SAVEHIST=10000
+
setopt appendhistory
unsetopt autocd beep extendedglob
#bindkey -e
@@ -65,4 +67,5 @@ export KEYTIMEOUT=1
###
## == Prompt ==
-export PS1="%m [%n:%c]%# "
+export PS1="%c$ "
+