diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index 8cf27ec..52dc78b 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -23,6 +23,12 @@ export PS1="${Yellow}\d \A ${Off}${Green}\u@\h: ${Off}\w ${Red}\$(parse_branch g hash fzf 2>/dev/null && eval "$(fzf --bash)" export FZF_DEFAULT_OPTS='--border=horizontal --info=inline --no-reverse --height=50%' +[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" + +# check the window size after each command and, if necessary, +# update the values of LINES and COLUMNS. +shopt -s checkwinsize + # Use gpg-agent as ssh agent (and get a nice graphical prompt). unset SSH_AGENT_PID if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then