FS#57858 - /ect/skel/.bashrc creates a non working alias
Attached to Project:
Arch Linux
Opened by Reginald (Uqbar) - Friday, 16 March 2018, 09:17 GMT
Last edited by Antonio Rojas (arojas) - Friday, 16 March 2018, 10:58 GMT
Opened by Reginald (Uqbar) - Friday, 16 March 2018, 09:17 GMT
Last edited by Antonio Rojas (arojas) - Friday, 16 March 2018, 10:58 GMT
|
Details
Description:
In /ect/skel/.bashrc there's an alias which is not working. And never will. It's: alias du="du -ach | sort -h" So when you run $ du somedir you are actually running du -ach | sort -h somedir and get this error message: sort: read failed: somedir/: Is a directory The command du is supposed to accept a destination file or directory list as argument. Please, change that alias to du -ach |
This task depends upon
https://git.archlinux.org/svntogit/packages.git/tree/trunk/dot.bashrc?h=packages/bash&id=0b9a06e372dc67ac07cb706e981691444b0061f8
/etc/skel/.bashrc is owned by bash 4.4.019-1
$ pacman -Qkk bash
bash: 235 total files, 0 altered files
Now that file is like yours.
Weird, as I am the one and only user in this system.