lorendias, to Bash

It feels really weird using environment variables that are not even 1 day old yet.

Sometimes it's easy to forget how much the community innovates so quickly and it really is person to person where things get done.

kephalos, to random

I've started a blog!

Check it out! https://matthewaerose.github.io

bh,
@bh@pdx.sh avatar

@kephalos I'm loving all these great Rust tools like broot, fd and bat! :rust: 🦀

brokenix, to emacs
@brokenix@emacs.ch avatar
changelog, to linux
@changelog@changelog.social avatar

The CLI is a super efficient way to use a computer, but discovering how to use it well is a big challenge.

@jerod tells his history with the history command and concludes:

There’s so much efficiency gains you could have if you just have someone tell you “Here’s how to do it.”

🎥 https://youtu.be/RItiJrEeC70

qbi, to random German
@qbi@freie-re.de avatar

Was gibt es besseres als den Tag mit etwas Shellscripting ausklingen zu lassen?

publicvoit, to NixOS
@publicvoit@graz.social avatar

I've published my configuration files: https://github.com/novoid/nixos-config

and more

amadeus, (edited ) to Bash
@amadeus@mstdn.social avatar

Do you prefer #bash or #zsh and do you use #ohmyzsh? #linux #commandline #terminal

rasterweb, to apple
@rasterweb@mastodon.social avatar

I did a bit more terminal yak shaving today as well... got zsh set up properly and the colors are a nice improvement.

This post helped...

➡️ https://medium.com/ayuth/iterm2-zsh-oh-my-zsh-the-most-power-full-of-terminal-on-macos-bdb2823fb04c

blakespot, (edited ) to VintageComputing

As people are asking, here's the drill I went through to configure my Mac to allow my Apple IIe (and other vintage systems around the room) to "dial in" to it via WiFi232 or other WiFi modem devices.

https://bytecellar.com/2022/11/28/configure-your-mac-to-allow-vintage-computers-to-dial-in/

(I've just updated the post, to address a little snag I encountered, caused by a recent macOS update.)

pixel, to random
@pixel@social.pixels.pizza avatar
VinceAggrippino, to random
@VinceAggrippino@techhub.social avatar

In , don't end a double-quoted string with an exclamation point. The exclamation point and the double-quote that follows it will be removed and the shell will act as though you didn't close the double-quotes.

e.g.
❌ echo "something exciting!"

I didn't fully understand the explanation in man zshexpn and follow-up in man zshmisc, but it has something to do with the history mechanism.

VinceAggrippino, to random
@VinceAggrippino@techhub.social avatar

Using , the history command has a -m argument that takes a pattern argument (file globbing style, not regex) and only shows the history events matching the pattern...

❌ history | grep "^.{7}git"

✅ history -m "git*"

schenklklopfer, to macos German
@schenklklopfer@chaos.social avatar

Warum tut 'cut' in der Bash unter etwas anderes, wie 'cut' in der unter Linux?!

kkarhan,
@kkarhan@mstdn.social avatar

@schenklklopfer weil die - Version unter veraltet ist, weil zu migrierte wo bash auf umstellte...

mdhughes, to random

A new version of the AWK book is coming out! In 2023!
https://awk.dev

#unix #awk

kkarhan,
@kkarhan@mstdn.social avatar

@josephholsten @benjamineskola Yeah, because is kinda the de-facto standard for not only as per but also because it's compatible with the original .

would be the next best option to keep that, whilst yeets any compatibility in favour of user-friendlyness and cleanness as languague!

https://refspecs.linuxfoundation.org/lsb.shtml

kkarhan,
@kkarhan@mstdn.social avatar

@benjamineskola @unfortunateshort @josephholsten @fuchsiii I mean, I know that is seen as more or less "the best compatible shell there is"...

I think really shines at the user experience when interacting directly with it.

mrcopilot, to ai
@mrcopilot@mstdn.social avatar

Mac first developers mystify me, and so Imma withhold judgement.

autocomplete now with integrated Generative Predictive Text , coming soon maybe for the vast majority of terminal users.

https://www.fastcompany.com/90907013/warp-terminal-command-line

rmdes,
@rmdes@mstdn.social avatar

@mrcopilot hmmm someone somewhere must be thinking : what about a or plugin that does this?

skybert, to linux
@skybert@emacs.ch avatar

Unix shell aliases can seriously speed up your command line interactions.

Here I share my favourite shell aliases for working with the Git version control.

https://youtu.be/6gNkmwig0rU

mitexleo, (edited ) to linux

Which one is your favorite shell on Linux ?

I love fish 🐟

greyllama, to Weather
VinceAggrippino, to random
@VinceAggrippino@techhub.social avatar

I just learned this convenience:

❯ alias | grep cd  
-='cd -'  
1='cd -'  
2='cd -2'  
3='cd -3'  
4='cd -4'  
5='cd -5'  
6='cd -6'  
7='cd -7'  
8='cd -8'  
9='cd -9'  

The aliases were (probably) created by Oh My Zsh, but the -{number} syntax is builtin.

Documented in man zshbuiltins

No more trying to count path separators... cd ../../.. 😵‍💫

VinceAggrippino, (edited )
@VinceAggrippino@techhub.social avatar

Apparently with you can just use dots to traverse parent directories quickly. Where .. goes up one directory like always, just add another dot for each additional directory. It works with or without the cd command.

e.g.:

❯ pwd  
/home/vaggrippino/dev/blog/_output/page-0002

❯ ....  

This functionality is a combination of the built-in AUTO_CD option (man zshoptions) and some more of the aliases from Oh My Zsh:

❯ alias | grep ...  
...=../..  
....=../../..  
.....=../../../..  
......=../../../../..  
0x5DA, to linux
@0x5DA@fosstodon.org avatar

relistening to some old RSK shows whilst idly tweaking linux is such a vibe

anyway a simple zsh thingy
my system isn't even functional (no audio or nvim config and stuff) so i'm not sure why i'm fiddling with all this so much

ehhhhhh ._.

null, to linux

Shoutout to Atuin, which moves your shell history to a SQLite DB and keeps it synced, with end-to-end encryption, across hosts. Works with and . First impression: 👍 👍

https://github.com/ellie/atuin

3gtAWaagRvbpU4s3rfYrFzbk55cUgi, to linux

Sometimes I wonder if I should try a different . The thing is if I have to hang on to for compatibility reasons do I really want to have something else also? It's like buying a second hammer just because it's fancier than the regular one you have. Maybe if I was a carpenter, I'd do it. But if I just hammer a nail every once in a while, do I really need the fancy hammer?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • InstantRegret
  • DreamBathrooms
  • ethstaker
  • magazineikmin
  • thenastyranch
  • ngwrru68w68
  • Youngstown
  • slotface
  • modclub
  • love
  • kavyap
  • everett
  • cubers
  • provamag3
  • mdbf
  • khanakhh
  • tacticalgear
  • osvaldo12
  • rosin
  • tester
  • GTA5RPClips
  • cisconetworking
  • Durango
  • Leos
  • normalnudes
  • anitta
  • JUstTest
  • All magazines