XIVN1987
V2EX  ›  Bash

如何让 ls 默认带--group-directories-first 选项

  •  
  •   XIVN1987 · Nov 11, 2019 · 7061 views
    This topic created in 2572 days ago, the information mentioned may be changed or developed.

    希望执行“ls”时默认就能目录全部在文件前面,,试了 alias 没成功

    1 replies  •  2020-01-31 23:14:12 +08:00
    MrUser
    MrUser
    Jan 31, 2020
    1
    更改 `~/.bashrc` 后需要 `source ~/.bashrc` 或重新登录才会生效
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1579 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 00:03 · PVG 08:03 · LAX 16:03 · JFK 19:03
    ♥ Do have faith in what you're doing.