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 preloadindex = true
[color] [color]
diff = always diff = yes
ui = always ui = yes
[alias] [alias]
br = branch br = branch
@ -34,4 +34,7 @@
[push] [push]
default = upstream default = upstream
[log]
showsignature = true
# vim: ft=gitconfig # vim: ft=gitconfig

2
tcshrc
View File

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

View File

@ -156,6 +156,18 @@ else
echo "Couldn't find vim. Beware!" echo "Couldn't find vim. Beware!"
endif 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_SYSTEM}
safe_source ${CSHENV_DIR}/tcshrc.aliases.${CSHENV_HOSTNAME} safe_source ${CSHENV_DIR}/tcshrc.aliases.${CSHENV_HOSTNAME}
safe_source ${CSHENV_DIR}/tcshrc.aliases.user safe_source ${CSHENV_DIR}/tcshrc.aliases.user