.bashrc: add debug function dumpargs
This commit is contained in:
parent
bcfbd7d5fd
commit
fae0a7b20c
1 changed files with 7 additions and 0 deletions
7
.bashrc
7
.bashrc
|
|
@ -131,6 +131,13 @@ lscat() {
|
|||
done
|
||||
}
|
||||
|
||||
# Dump arguments with newlines and quotes
|
||||
dumpargs() {
|
||||
for a in "$@"; do
|
||||
echo "\"$a\""
|
||||
done
|
||||
}
|
||||
|
||||
# Load z
|
||||
[[ -r "/usr/share/z/z.sh" ]] && source /usr/share/z/z.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue