dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit da2f530174cef5d665a7afe89e66b95bb46a15aa
parent 5362a88f732fcfef04b94fbab42683b3f89718aa
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 28 Aug 2019 15:13:11 +0200

Small syntax changes

Diffstat:
M.bashrc | 13+++++--------
1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/.bashrc b/.bashrc @@ -25,18 +25,15 @@ PS1="\n" PS1+="\w\$ " case ${TERM} in - xterm*|rxvt*|Eterm|aterm|kterm|gnome*) - PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' - - ;; - screen*) - PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' - ;; + xterm*|rxvt*|Eterm|aterm|kterm|gnome*) + PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' ;; + screen*) + PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' ;; esac # shellcheck source=/dev/null [ -r /usr/share/bash-completion/bash_completion ] && \ - . /usr/share/bash-completion/bash_completion + . /usr/share/bash-completion/bash_completion || : [ -f /usr/share/fzf/key-bindings.bash ] && \ . /usr/share/fzf/key-bindings.bash ] || :