Better git and pass integration.

This commit is contained in:
ADAM David Alan Martin
2016-11-30 18:32:55 -05:00
parent df09934f4f
commit d4dd8e0987
3 changed files with 19 additions and 2 deletions

View File

@ -3,8 +3,8 @@
preloadindex = true
[color]
diff = always
ui = always
diff = yes
ui = yes
[alias]
br = branch
@ -34,4 +34,7 @@
[push]
default = upstream
[log]
showsignature = true
# vim: ft=gitconfig

2
tcshrc
View File

@ -125,6 +125,8 @@ if( $?CSHENV_DEBUG ) then
endif
source ${CSHENV_DIR}/tcshrc.prompt
safe_source ${CSHENV_DIR}/tcshrc.user
###########################
# vim: ft=tcsh
###########################

View File

@ -156,6 +156,18 @@ else
echo "Couldn't find vim. Beware!"
endif
if( -f `which git` ) then
alias g git
else
alias g echo "Git not found!"
endif
if( -f `which pass` ) then
alias p pass
else
alias p echo "Password store not found!"
endif
safe_source ${CSHENV_DIR}/tcshrc.aliases.${CSHENV_SYSTEM}
safe_source ${CSHENV_DIR}/tcshrc.aliases.${CSHENV_HOSTNAME}
safe_source ${CSHENV_DIR}/tcshrc.aliases.user