From ec85cc899e9bd7721db38896b320a534e34456a1 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Sun, 26 Jan 2025 21:28:30 -0400 Subject: [PATCH] rprompt --- dot_zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dot_zshrc b/dot_zshrc index 4df2b3d..c19dd4e 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -11,6 +11,9 @@ compinit source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh +bindkey '^[[H' beginning-of-line +bindkey '^[[F' end-of-line + # Set aliases alias ls="eza --icons --long" alias grep="ugrep" @@ -24,7 +27,7 @@ alias l="ls --ignore-glob '$([ -f .hidden ] && cat .hidden | tr '\n' '|')'" # Helpful tool: https://zsh-prompt-generator.site/ # On github: https://github.com/k-yokoishi/zsh-prompt-generator PROMPT="[%n@%m %~]$ " -RPROMPT="%?:%h" +RPROMPT="%?:%h | %*" # CLI programs EDITOR=micro