programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Jeezy@lemmy.world to ProgrammingEnglish · 2 years ago

Sensible $WORDCHARS for Most Developers

lgug2z.com

external-link
message-square
4
link
fedilink
48
external-link

Sensible $WORDCHARS for Most Developers

lgug2z.com

Jeezy@lemmy.world to ProgrammingEnglish · 2 years ago
message-square
4
link
fedilink
Have you ever hit alt + backspace while in a zsh session, intending to delete just the last part of a path, or a word, or an identifier, but ended up deleting far more than that? This is probably because you are using the default value for $WORDCHARS. The default value for $WORDCHARS is *?_-.[]~=/&;!#$%^(){}<> i.e. pretty much everything and the kitchen sink. Usually, therefore, you will want to remove characters which you don’t want to be considered parts of words
  • cd_slash_rmrf
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    Short, simple, informative, and helpful. 10/10

Programming

programming

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: [email protected]

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



Visibility: Public
globe

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

  • 223 users / day
  • 1.65K users / week
  • 3.35K users / month
  • 7.87K users / 6 months
  • 2.95K local subscribers
  • 25.4K subscribers
  • 2.89K Posts
  • 43.9K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • UlrikHD
  • bugsmith
  • Spyro
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org