mirror of
https://github.com/hcartiaux/dotfiles.git
synced 2024-10-18 17:25:23 +02:00
[bash] bash_aliases: line function, posix compliant & faster
This commit is contained in:
parent
c08a3c6a48
commit
e21dbbdc09
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ man() {
|
|||
|
||||
# print a line as wide as the terminal
|
||||
line() {
|
||||
for i in $(seq 1 $COLUMNS); do echo -n =; done
|
||||
printf %${COLUMNS}s | tr " " "="
|
||||
}
|
||||
|
||||
# make a backup of a file
|
||||
|
|
Loading…
Reference in a new issue