Ajout du shortcut pour xmllint
This commit is contained in:
parent
8b693965b7
commit
d84fbedaf2
@ -13,3 +13,9 @@ _git_add_complete() {
|
|||||||
|
|
||||||
complete -F _git_add_complete gg
|
complete -F _git_add_complete gg
|
||||||
|
|
||||||
|
xmlpretty() {
|
||||||
|
local ORIGINAL=$1
|
||||||
|
local FILENAME=${ORIGINAL%.xml}
|
||||||
|
local FINAL=${FILENAME##*/}
|
||||||
|
xmllint --format "$1" --output ${FINAL}.pretty.xml
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user