diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases index 9580c3c..7bb6f55 100644 --- a/dotfiles/.bash_aliases +++ b/dotfiles/.bash_aliases @@ -129,7 +129,7 @@ _after_command() # The below program will exit successfully if a notification is to be # shown. - if PS1=$(custom-bash-prompt "$last_command" $exit_code $__begin "$(__git_ps1 '   %s')") + if PS1=$(COLUMNS=$COLUMNS custom-bash-prompt "$last_command" $exit_code $__begin "$(__git_ps1 '   %s')") then ([ $__window -ne $(getactivewindow) ] && notify-send -i dialog-information "CLI Ready" "$last_command" &) fi diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index f384711..3a16268 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -58,8 +58,6 @@ envarmunge PATH /usr/local/texlive/*/bin/x86_64-linux export BASH_COMPLETION_USER_DIR=$HOME/.local/share/bash-completion export BAT_PAGER='less -iRF' -# Make this available to the C program which reports command completion. -export COLUMNS export EDITOR=vim export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01:range1=32:range2=34:fixit-insert=32:fixit-delete=31:diff-filename=01:diff-hunk=32:diff-delete=31:diff-insert=32:type-diff=01;32' export GIT_EDITOR=vim