mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 16:10:14 +00:00
Merge branch 'experimental'
This commit is contained in:
@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copied from David Pedersen: https://github.com/davidpdrsn/dotfiles/blob/master/bin/git-pp
|
||||
|
||||
set -e
|
||||
|
||||
git_branch_name() {
|
||||
val=$( git branch 2>/dev/null | grep '^\*' | colrm 1 2 )
|
||||
echo "$val"
|
||||
}
|
||||
|
||||
git push --set-upstream origin "$(git_branch_name)"
|
5
bin/url-decode
Executable file
5
bin/url-decode
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
|
||||
|
||||
urldecode "$@"
|
Reference in New Issue
Block a user