Update files
This commit is contained in:
parent
d8f8e42d36
commit
783636b4f7
3 changed files with 17 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue