From cdc05b97222cd4b4dab9bf8c933e00e5b08df408 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Fri, 27 Sep 2019 13:25:11 -0400 Subject: Update bash configs --- bash/.bash_profile | 2 ++ bash/.bashrc | 9 ++++++--- bash/.git-prompt | 2 +- bash/.git-prompt-colors.sh | 4 ++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/bash/.bash_profile b/bash/.bash_profile index 6d8c25b..86b5194 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -2,3 +2,5 @@ # Get the aliases and functions [ -f $HOME/.bashrc ] && . $HOME/.bashrc + +PATH=/sbin:$PATH diff --git a/bash/.bashrc b/bash/.bashrc index aa56e8e..62a1351 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -1,11 +1,12 @@ # .bashrc set -o vi -PATH=~/bin:$PATH +PATH=/sbin:/usr/sbin:~/bin:/usr/local/texlive/2018/bin/x86_64-linux:$PATH source ~/.pass_completion -HISTSIZE=10000000 -HISTFILESIZE=8000000 +export HISTSIZE=10000000 +export HISTFILESIZE=80000000 +export HISTCONTROL=ignoreboth # If not running interactively, don't do anything [[ $- != *i* ]] && return @@ -67,6 +68,8 @@ GIT_PROMPT_THEME="Custom"; # use theme optimized for solarized color scheme GIT_PROMPT_THEME_FILE=~/.git-prompt-colors.sh source /home/tje/.git-prompt/gitprompt.sh +source /home/tje/.git-completion.bash alias dwarf="/home/tje/Downloads/programs/df_linux/df" alias tele="telegram -k /home/tje/Downloads/programs/tg/tg-server.pub" +alias cr="cmus-remote" diff --git a/bash/.git-prompt b/bash/.git-prompt index 21063bc..9733b12 160000 --- a/bash/.git-prompt +++ b/bash/.git-prompt @@ -1 +1 @@ -Subproject commit 21063bcd924bd8efb65eb36b2fe12ffd6ed1b6a5 +Subproject commit 9733b12b3441424ad47d4f42977578e8c9d89438 diff --git a/bash/.git-prompt-colors.sh b/bash/.git-prompt-colors.sh index ff8a38a..597cf50 100644 --- a/bash/.git-prompt-colors.sh +++ b/bash/.git-prompt-colors.sh @@ -11,7 +11,7 @@ override_git_prompt_colors() { PathShort="\W"; GIT_PROMPT_PREFIX="[" - GIT_PROMPT_SUFFIX="]" + GIT_PROMPT_SUFFIX="]\n" GIT_PROMPT_SEPARATOR=" " GIT_PROMPT_STAGED="${Red}●${ResetColor}" GIT_PROMPT_CONFLICTS="${Red}×${ResetColor}" @@ -24,7 +24,7 @@ override_git_prompt_colors() { GIT_PROMPT_COMMAND_FAIL="${Red}✘" GIT_PROMPT_START_USER="${Cyan}${PathShort}${ResetColor}" - GIT_PROMPT_END_USER="${ResetColor} $ " + GIT_PROMPT_END_USER="${ResetColor}> " GIT_PROMPT_END_ROOT="${BoldRed} # " } -- cgit v1.1