Fedifriends Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Alejandro Mendoza@eviltoast.org to linuxmemes@lemmy.worldঅসমীয়া · 20 days ago

yes

eviltoast.org

message-square
45
link
fedilink
440

yes

eviltoast.org

Alejandro Mendoza@eviltoast.org to linuxmemes@lemmy.worldঅসমীয়া · 20 days ago
message-square
45
link
fedilink
alert-triangle
You must log in or # to comment.
  • mycodesucks@lemmy.world
    link
    fedilink
    arrow-up
    126
    ·
    20 days ago

    • lastweakness@lemmy.world
      link
      fedilink
      arrow-up
      30
      arrow-down
      1
      ·
      20 days ago

      Just another reason to use fish

      • /home/pineapplelover@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        12
        arrow-down
        2
        ·
        20 days ago

        I love fish. I just hate that it’s not posix compliant, so if I need to run posix stuff I need to switch to sh

        • Owl@mander.xyz
          link
          fedilink
          arrow-up
          15
          ·
          20 days ago

          posix stuff

          need to switch to sh

          Then it turns out it was bash specific stuff

        • cole@lemdro.id
          link
          fedilink
          English
          arrow-up
          7
          ·
          20 days ago

          why not zsh? that’s why I switched from fish

        • Alex@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          20 days ago

          Why? Scripts can still invoke the needed shell? Or are you taking about things that like to set up a shell environment?

        • iusearchbtw@feddit.uk
          link
          fedilink
          arrow-up
          4
          ·
          20 days ago

          https://github.com/akinomyoga/ble.sh

      • Int32@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        4
        ·
        20 days ago

        I use nushell btw, but I do agree fish autocompletions are the best!

        • KSP Atlas@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          ·
          19 days ago

          I think you can use fish autocompletions in nushell?

          • Int32@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            1
            ·
            18 days ago

            you can, but you have to install fish, would be better if it was a default or standalone package.

    • grrgyle@slrpnk.net
      link
      fedilink
      arrow-up
      10
      ·
      19 days ago

      Rofl

      For the first time I’ve actually started, like, using the Documents folder to store copies of receipts, contracts, etc.

      I feel like I have finally entered adulthood.

      • iveseenthat@reddthat.com
        link
        fedilink
        arrow-up
        2
        ·
        18 days ago

        Oh shit. I feel personally identified…

    • bobo@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      20 days ago

      Zoxide: z ds

  • bus_factor@lemmy.world
    link
    fedilink
    arrow-up
    73
    ·
    20 days ago

    ZSH will tab-complete it even if you have a small D

    • tatann@lemmy.world
      link
      fedilink
      arrow-up
      24
      ·
      20 days ago

    • Owl@mander.xyz
      link
      fedilink
      arrow-up
      12
      ·
      20 days ago

      zsh not letting down our short king Ds

    • mal3oon@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      20 days ago

      bcachefs entered the chat. Linus slammed the chat close.

  • nocturne@slrpnk.net
    link
    fedilink
    arrow-up
    16
    ·
    20 days ago

    So I realize this is a joke, but, and I am legit asking, isn’t there a command where you can tell Linux to treat Downloads and downloads as the same thing?

    • oktoberpaard@piefed.social
      link
      fedilink
      English
      arrow-up
      15
      ·
      20 days ago

      In Bash you can use a shell option to alter this behavior: shopt -s nocaseglob. See https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html for more options.

    • jdnewmil@lemmy.ca
      link
      fedilink
      arrow-up
      13
      ·
      20 days ago

      Sorta. If you put a FAT32 disk or sd card into a Linux system and mount it, it will ignore case because of the way the filenames are stored in that filesystem. However, there are a lot of important features you lose working on filesystems like that, so really it should be reserved for sneakernet with other operating systems.

    • pressanykeynow@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      20 days ago

      You can use casefold option on ext4.

    • Owl@mander.xyz
      link
      fedilink
      arrow-up
      7
      ·
      20 days ago

      Symlink ?

    • _stranger_@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      19 days ago

      ln -s downloads Downloads

      or

      ln -s Downloads downloads

      depending on your situation.

      • nocturne@slrpnk.net
        link
        fedilink
        arrow-up
        3
        ·
        19 days ago

        Thank you. I thought I remembered using something like this back when I ran OpenSUSE and redhat years ago.

    • overload@sopuli.xyz
      link
      fedilink
      arrow-up
      4
      ·
      19 days ago

      I’ve kind of just accepted this is one of the differences between Linux and Windows that we as users need to understand is OS-specific.

    • iveseenthat@reddthat.com
      link
      fedilink
      arrow-up
      3
      ·
      18 days ago
      ln -s Dowloads downloads
      
    • communism@lemmy.ml
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      19 days ago

      I guess you could use an ntfs filesystem… Or if you just mean for autocompletion, I’ve found that if there’s no completions matching e.g. readme then zsh will autocomplete README. But I’d say case sensitivity of files is a feature not a bug. People use it to make files starting with a capital letter appear at the top of a list of files in a directory.

    • p@veganism.social
      link
      fedilink
      arrow-up
      3
      ·
      20 days ago

      @nocturne
      if you use #fishshell, it’ll autocomplete to “Downloads”

    • angband@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      19 days ago

      alias downloads=“cd ~/Downloads”

      edit: but if you want to get freaky in bash, alias downloads=“pushd ~/Downloads”

      probably works in some other shells too

  • Frezik@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    14
    ·
    19 days ago

    I once got into it with a dev who had written an Arduino library. I reported a compile bug, and he said my environment must be broken. In fact, it was because the headers in the library were set for #include 'arduino.h', not Arduino.h. Which would work fine on the default settings for Windows and Mac, but not Linux.

  • Randelung@lemmy.world
    link
    fedilink
    arrow-up
    14
    arrow-down
    3
    ·
    edit-2
    20 days ago

    $ ln -s ~/Downloads downloads

    You can even hard link it if you feel fancy.

    • KickMeElmo@sopuli.xyz
      link
      fedilink
      arrow-up
      5
      arrow-down
      2
      ·
      20 days ago

      You can’t hardlink directories on a standard *nix filesystem. NTFS has that in the form of Junctions and it’s likely made more messes than it has prevented.

      • Randelung@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        20 days ago

        Ah, yes, my bad. Need a file for hard links.

      • jim3692@discuss.online
        link
        fedilink
        arrow-up
        2
        ·
        20 days ago

        I have yet to see anyone brave enough, to mount /home to NTFS

    • ViaFedi@lemmy.ml
      link
      fedilink
      arrow-up
      2
      arrow-down
      4
      ·
      20 days ago

      $ ln -s ~/Downloads downloads

      ln -s is a symlink. You’re better off editing user-dirs.dirs anyway

  • _stranger_@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    19 days ago

    It’s pronounced “Data”.

  • mazzilius_marsti@lemmy.world
    link
    fedilink
    arrow-up
    10
    arrow-down
    2
    ·
    20 days ago

    alias downloads=‘Downloads’ alias Downloads=‘downloads’

    • icelimit@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      20 days ago

      What was the new one? Pay respects?

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      19 days ago

      Oh shit, I’ve never thought to do this… Would this work? Or are aliases only for commands?

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        4
        ·
        19 days ago

        This wouldn’t work.

        Well, it kind of would if you did alias downloads="cd Downloads" but then you wouldn’t cd downloads you’d just type downloads on its own.

        As other comments here already point out, you can do it with a symlink if you really want it. i.e. ln -s Downloads downloads, then you can cd downloads.

        Nowhere near the same as making everything effectively case insensitive, but it works for the odd one that you always mistype.

        There are ways to patch command completion and/or write a variant cd that does the job intelligently too, but those are harder work.

        Day-late edit that no-one will see: The answer is bind "set completion-ignore-case on". It’s embarrassing how simple this is and how long it took me to find it. I may have been trying to emulate this feature in other ways for a long time.

  • CheesyFox@lemmy.sdf.org
    link
    fedilink
    arrow-up
    8
    ·
    20 days ago

    try out zoxide

  • ArmchairAce1944@discuss.online
    link
    fedilink
    arrow-up
    8
    ·
    19 days ago

    I ran into that same issue. When case sensitive stuff hits for rhe first time.

    Also I love linux’s cmd line. I grew up on MS-DOS and I feel like the computer hacker that I always dreamed I would be.

  • fleebleneeble@reddthat.com
    link
    fedilink
    arrow-up
    4
    ·
    20 days ago

    D

  • sircac@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    19 days ago

    My home is so populated of symlinks of similar namings: capital leters, other languages,…

  • HakunaHafada@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    18 days ago

    crossdresser downloads? Don’t mind if I do!

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.2K users / day
  • 2.29K users / week
  • 7.92K users / month
  • 19.5K users / 6 months
  • 1 local subscriber
  • 27.4K subscribers
  • 1.84K Posts
  • 98.2K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org