• AItoothbrush@lemmy.zip
    link
    fedilink
    English
    arrow-up
    10
    ·
    19 hours ago

    Very useful tip: i have ls aliased to eza which is ls with eyecandy, I have la aliased to eza -a and I have cd aliased to cd && eza which makes navigating folders very easy. I also aliased … to cd … for convenience. I know a lot of people are purists about the terminal but i think this is a good ballance between convenience and simplicity. Doesnt do a lot of the cursed stuff ricers like to do.

      • AItoothbrush@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 hours ago

        I think i defined cd as a function for interactive shells or something. I dont remember and i dont have my computer so yeah. It should look something like this: cd() {builtin cd “$@” && eza}

      • AItoothbrush@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 hours ago

        Yazi is nice but when im navigating shorter directory structures i prefer cd. Question of personal preference as all of this is.

    • DaforLynx@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      19 hours ago

      Love convenient aliases. Would aliasing … cause “…/previous/file” to become " cd …/previous/file" and ruin some commands? I guess not. I also use eza :D

      • Prunebutt@slrpnk.net
        link
        fedilink
        arrow-up
        3
        ·
        19 hours ago

        Only if it’s a global alias, I think (those are useful for stuff like alias -g DN=/dev/null)