Better git and pass integration.
This commit is contained in:
@ -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
2
tcshrc
@ -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
|
||||||
###########################
|
###########################
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user