Better git and pass integration.
This commit is contained in:
@ -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
2
tcshrc
@ -125,6 +125,8 @@ if( $?CSHENV_DEBUG ) then
|
||||
endif
|
||||
source ${CSHENV_DIR}/tcshrc.prompt
|
||||
|
||||
safe_source ${CSHENV_DIR}/tcshrc.user
|
||||
|
||||
###########################
|
||||
# vim: ft=tcsh
|
||||
###########################
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user