photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

246
active users

#zsh

2 posts2 participants0 posts today

And by the way, I guess I’ll be sticking with #Zsh. I still need to make some adjustments but it’s meeting all my needs. Of course I still **have** #Bash. I still run bash scripts. But human interaction now happens in zsh.

The fact that @b0rk uses #Fish makes me curious, but it’s too soon to look at yet another shell.

Figured out a nice terminal timer!

I find timers incredibly irritating, especially when they keep ringing until you turn them off, which is the case for most of them. I also prefer my tea steeped for an exact period of time.

I figured out how to get a timer in my terminal that rings only once, and I added it to my “grimoire” collection of useful scripts I recently started:

reillyspitzfaden.com/code/#gri

Pixel art of a radio tower and floppy disk, with pixel art text reading 'Reilly Spitzfaden'
reillyspitzfaden.comReilly Spitzfaden, Composer | Code
#Zsh#Bash#Terminal

Bash csh zsh ksh tksh fish are powerful CLI tools

Entire networks can be controlled and build with them.

Let's take for example command line tools to control media output

For me e.g mplayer and vlc -I cli are much more interesting when it comes down to standard control of media playback. I prefer to use MOC (mocp) Music 🎼 on Console, instead of bulky RAM hungry programs, which go on the internet to _fetch data that I never asked for$ and thus burn bandwidth

The memory footprint of Music on Console is so low that you can use it on a system which has been built more than two and a half decades ago.

The only graphical media playback program I know that can do that also has been written by my friend Andy Loafoe and that is alsaplayer

Andy programmed alsaplayer when he saw Delitracker playing on my Amiga systems
We're talking the period when Linux was barely moving in Xwindows when you had window managers like fvwm & twm and few others.
The alsa audio interface was also just born.

It is within this context that Andy envisioned alsaplayer. It should be modular just like Delitracker Amiga, it should be lightweight Delitracker runs on an Amiga A500 with just half A megabyte of chip ram
That should still be memory left to do other the things so straight calls were made to widget libraries which explains the simplicity yet great usability of the UI. For as far as I remember Andy has also written an API for Alsaplayer

Within a few weeks to a few months of coding alsaplayer came out of Alpha and went Bèta in code stability.

Because everything was written with efficiency in mind and it was programmed as portable as possible, alsaplayer can still be used many decades after It has been written, one of the main reasons is that it has been coded by a command line programmer

For me working on the command line has always been logical, graphic user interfaces were only used when absolutely necessary think about GEOS on the C64

I started coding on the Casio FX 700p programmable calculator. I went so far to make program code that was in the book more efficient by crunching all the commands with two letter abbreviations.

The power of the Command Line something the Young Ones should Learn

Alsaplayer manpage

https://man.freebsd.org/cgi/man.cgi?query=alsaplayer&sektion=1&apropos=0&manpath=FreeBSD+6.0-RELEASE+and+Ports

man.freebsd.orgalsaplayer(1)
#programming#Bash#csh

Bisher hab ich ja ausschließlich die #Bash verwendet, in Kombination mit #Atuin für eine deutlich bessere History. Farblich angepasst mittels der "PS"-Variable in der Konfigurationsdatei.

Die letzten Tage hab ich ein bisschen umher probiert mit #Fish und #zsh Fish hat mir zu viele komische Eigenheiten. Die Doku ist gut, aber unübersichtlich und dieses doofe gekürze bei den Pfaden war richtig doof. Das kann man abschalten, ja, aber als Standard fand ich es doof. Das PPA für die aktuelle Version im Ubuntu Testcontainer konnte ich nicht hinzufügen. Vielleicht lags auch mal wieder an Launchpad.
Oh-my-fish wird nicht mehr gepflegt, da fehlt ein Maintainer. Weitergehende Anpassungen sollen über eine Webkonsole möglich sein, die lauscht aber nur auf localhost, bringt mir also nix. Andernfalls viel lesen in der Dokumentation.

Es ist also die Z-Shell geworden in Kombination mit Oh-my-zsh und Atuin. Funktioniert richtig super, Anpassungen können mittels "omz" Kommando sehr einfach gemacht werden, sonst ist da auch die manuelle Bearbeitung in der Zshrc ebenfalls sehr einfach möglich wie bei der Bashrc.

Was mich ein bisschen störte war, das viele Themes eine Git-Integration haben und komisch darstellen. Mit dem Theme Fino bin ich zufrieden, was das angeht, da diese den Branch abgetrennt angibt und nicht direkt hinter dem Pfad. 2 Plugins musste ich ebenfalls selbst nachinstallieren (zsh-autosuggestions zsh-syntax-highlighting), wäre super, wenn die ebenfalls in OMZ dabei wären.

Für alle, die die Bash ein bisschen pimpen wollen gibt es da noch "oh-my-bash" :neocat_sign_nya:

Continued thread

So, I going with #Helix and also #Lazygit

But when leaving Lazygit and returning to Helix, the TU Interface becomes buggy #Zsh #Tmux or #XFCE4

I really love the way offered to configure many details and behaviours of both software programs.
There is also the aspect that I find very enjoyable: learning a lot (and it's not always easy) before it ‘works’.
And keybindings of course <3

However, I am now complaining about it.

Ich habe mal eine Frage an alle Shell Hacker hier:

- Ich habe zeitliche Längen in Stunden in Dezimal, also zb. 1 oder 1.25 (also immer in Viertelstunden Abstand)
- Ich möchte diese in die Form HH:MM formatieren, also 01:00 und 01:15

Wie kann ich das machen?

Replied in thread

@katyswain I din't think that #CCSS is good either, but the demands of #GPLv3 are not compatible with the (adnitteldy shitty) reality of how #IP, #Licensing and #Patents work and thus it kneecaps a lot of things.

I chose #0BSD for _OS/1337 because as with any "intellectual labour", one cannot force others to collaborate and I'd rather have people join in out of the goodness of their hearts instead of just dumping some random git commit that is useless.

As you can see in the screen cap the project has grown beyond just a one-man show

It is vital to understand that the project would not have been scaled in this manner & at this logarithmic rate, had it not been for important partners, who due to the power of the FediVerse, were quickly introduced to the project

Did not only gave words of interest they actually contributed with giving server space to boxyBSD.

An insightful article was written by @gyptazy
If this is of your interest, and you take the time to read, analyze between the lines what has been said, you will learn a lot from this

If you are passionate about Proxmox like I am, you will love to read these kind of posts, because they've been systematically, logically and relatively simply formulated, so that it's digestible for the end user of proxmox all the way up to the diehard programmer who hacks in Proxmox code

So I recently got a Macbook for use at work, and decided to learn a bit more about zsh, the default shell.

Things escalated quickly.

Yesterday I switched all my Linux machines to zsh.

Today I submitted a patch to the zsh developers that adds some configurability to one of the default prompts. 😄

Switching to zsh from bash was painless and fun. It seems like almost everyone defaults to using oh-my-zsh, but I found that the plain vanilla default configuration in Ubuntu/Debian is already much nicer than bash.

If you're a bash user, it seems like everything Just Works. But! You can tab-complete way more stuff! It's great. I love love the command option completion and expansion: type "rsync -<TAB>" and you get a full page of rsync options and descriptions of them!

No more starting a command...thinking of what you want it to do, and forgetting the option name...erasing the command, looking at the man page, searching for the option, quitting, retyping the command...

#zsh#bash#macos