Update files

This commit is contained in:
Joey Yakimowich-Payne 2019-06-20 11:14:37 -06:00
commit 783636b4f7
3 changed files with 17 additions and 2 deletions

View file

@ -26,7 +26,6 @@ alias openurl="x-www-browser"
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
. /usr/share/bash-completion/bash_completion
#!/bin/bash
# Passing arguments to a function
gitrestore () {
local file="$1"
@ -39,6 +38,10 @@ gitrestore () {
fi
}
gitbasebranch () {
echo "$(git show-branch -a | grep '\*' | grep -v `git rev-parse --abbrev-ref HEAD` | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//')"
}
#DISPLAY=:0.0 xhost +
source ~/bashscripts/jd.bash