From 687a64c30fa70eb2a27cba09599c33a68b18d910 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Sun, 11 Mar 2018 21:42:10 -0400 Subject: Adds git-bash-prompt Also makes minor changes to other files --- bash/.bashrc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'bash/.bashrc') diff --git a/bash/.bashrc b/bash/.bashrc index 6453f1e..11d51e4 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -23,6 +23,10 @@ alias rtv='rtv --enable-media' alias sloc='sloccount' +alias t='t --task-dir ~/tasks' + +alias fm='vifm' + PS1='[\u@\h \W]\$ ' export GPG_TTY=$(tty) @@ -36,3 +40,21 @@ export IRCNAME="tje" export IRCSERVER="chat.freenode.net" alias word=wordgrinder + +GIT_PROMPT_ONLY_IN_REPO=1 +GIT_PROMPT_IGNORE_SUBMODULES=1 +# GIT_PROMPT_FETCH_REMOTE_STATUS=0 # uncomment to avoid fetching remote status +GIT_PROMPT_SHOW_UPSTREAM=1 # uncomment to show upstream tracking branch +# GIT_PROMPT_SHOW_UNTRACKED_FILES=all # can be no, normal or all; determines counting of untracked files +# GIT_PROMPT_SHOW_CHANGED_FILES_COUNT=0 # uncomment to avoid printing the number of changed files +# GIT_PROMPT_STATUS_COMMAND=gitstatus_pre-1.7.10.sh # uncomment to support Git older than 1.7.10 +# GIT_PROMPT_START=... # uncomment for custom prompt start sequence +# GIT_PROMPT_END=... # uncomment for custom prompt end sequence + +# as last entry source the gitprompt script +# GIT_PROMPT_THEME=Custom # use custom theme specified in file GIT_PROMPT_THEME_FILE (default ~/.git-prompt-colors.sh) +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 + -- cgit v1.1