V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
XIVN1987
V2EX  ›  Bash

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

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

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

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