Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Fix for Pipenv bug which locks COLUMNS if exported.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Jun 4, 2024
1 parent a8cf5c5 commit fa7f473
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion dotfiles/.bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions dotfiles/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa7f473

Please sign in to comment.