Updating PKGBUILD; restructuring some aliases & functions
This commit is contained in:
@@ -14,11 +14,6 @@ if [ -n "$SSH_AUTH_SOCK" ] && [ `ssh-add -L | grep -c no\ identities` -eq 1 ]; t
|
||||
ssh-add -L
|
||||
fi
|
||||
|
||||
# Tmux help
|
||||
function tssh () {
|
||||
tmux new-window -n "$1" "/bin/bash -ilc 'ssh $1'"
|
||||
}
|
||||
|
||||
### GIT ###
|
||||
source /usr/share/git/completion/git-prompt.sh
|
||||
|
||||
@@ -34,7 +29,7 @@ function git_prompt_var() {
|
||||
|
||||
### User-directory .gitbare Support (Git) ###
|
||||
if [ -d ~/.git ]; then
|
||||
cd
|
||||
cd
|
||||
printf "~/.git: "
|
||||
if [ $SHLVL -eq 1 ] && [ -z "$TMUX" ]; then
|
||||
git pull
|
||||
|
||||
Reference in New Issue
Block a user