added urldecode, urlencode
This commit is contained in:
parent
a4583b25b3
commit
250a8e0118
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
|
|||
alias pygmentize='pygmentize -O style=solarizeddark'
|
||||
alias ra='ranger'
|
||||
|
||||
alias urldecode='python3 -c "import sys, urllib.parse as ul; [sys.stdout.write(ul.unquote_plus(l)) for l in sys.stdin]"'
|
||||
alias urlencode='python3 -c "import sys, urllib.parse as ul; [sys.stdout.write(ul.quote_plus(l)) for l in sys.stdin]"'
|
||||
|
||||
function mkcdir () {
|
||||
mkdir -p -- "$1" &&
|
||||
cd -P -- "$1"
|
||||
|
|
Loading…
Reference in a new issue