#zsh

Hyde 📷 🖋 :debian:hyde@lazybear.social
2025-12-14

How do you manage your files? Do you use a #GUI? a #TUI?

I ❤️ terminals, #shells, and #fzf. Combined with #JohnnyDecimal, here's how I manage my files!

#terminals #zsh #fediverse #blog

lazybea.rs/hdmf

Harisankar P Scoderhs@ruby.social
2025-12-13

Since i started working with AI, I am finding myself using `git worktree` a lot. So I wrote a small helper script (with AI), to make it easier for me to write `git worktree` commands

github.com/coderhs/wt

#shell #zsh #git #tech

Digital Mark λ ☕️ 🕹 👽mdhughes@appdot.net
2025-12-13

Based on
bsd.network/@ed1conf/115708857

I added to .zshrc:
# XMAS
export XMAS=(
'🎄' '🌲' '🌟' '🎁' '🔔' '❄️' '☃️' '⛄'
'🎅' '🤶' '🦌' '🍪' '🥛'
)
xmasch() {
xmasi=$(( int(rand48()*13+1) ))
echo -n -e $XMAS[xmasi]
}

export PS1='%F{red} $(xmasch) %n@%m:%~%#%f '

I might add more intelligence to xmasch and use that for other calendar things.

#zsh #unix

Patrick :neocat_flag_bi:patrick@hatoya.cafe
2025-12-13

One Open-source Project Daily

​:cherry_blossom:​ A command-line fuzzy finder

https://github.com/junegunn/fzf

#1ospd #opensource #bash #cli #fish #fzf #go #neovim #tmux #unix #vim #zsh

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-12-12

Current weather for Marienburg SR SA compliments of wttr.in curl bash, all OpenSource

`curl wttr.in/marienburg_suriname|lolcat`

#weather #current #Marienburg #SR #SA #lolcat #curl #bash #csh #ksh #zsh #sh #technology #meteorology

Weather for Marienburg SR SA
Teddy / Domingo (🇨🇵/🇬🇧)TeddyTheBest@framapiaf.org
2025-12-12

#TrueNAS CE : le gestionnaire de stockage basique et simple - Up and Clear
J’ai migré mon #LincStation N1 d’UNRAiD à TrueNAS CE (ex TrueNAS Scale, ex #FreeNAS), que je redécouvre avec grand plaisir.
On peut passer l’interface en français dans les options, tout comme on peut choisir son #shell ( #zsh de base, je suis repassé en #Bash)
upandclear.org/2025/12/09/true

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-12-12

Current weather for Apetina SR SA
compliments of wttr.in {ba{k{z{c{fi{sh}}}} curl and lolcat

#weather #current #Apetina #SR #SA #lolcat #curl #bash #csh #ksh #zsh #sh #technology #meteorology

Weather paramaters for Apetina SR SA district Sipaliwini
Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-12-11

Current weather in Leonsberg SR SA compliments of wttr.in curl {ba{c{k{z{fi}}}}}sh and lolcat

#Weather #curl #wttr #bash #csh #ksh #zsh #fish #sh #OpenSource #programming #technology #POSIX

The screencap shows the forecast for Leonsberg SR SA

Thursday 11 Dec:

    Morning: Light rain shower, +26(29) °C, 15-26 km/h, 0.7 mm | 100%
    Noon: Light rain shower, +25(29) °C, 15-25 km/h, 1.0 mm | 100%
    Evening: Light rain shower, +25(29) °C, 14-24 km/h, 1.8 mm | 100%
    Night: Light rain shower, +24(27) °C, 12-29 km/h, 0.5 mm | 100%
Jari PennanenCiantic@twit.social
2025-12-10

Shell formater, parser is about to get ZSH support.

> Please stop arguing for zsh support. It is happening.

github.com/mvdan/sh/issues/120

#ZSH #Linux

2025-12-08

#linux #zsh
To people who uses zsh and have Autocomplete enabled, is it normal for the autocomplete to not able to find certain AUR packages?? like this one for example: aur.archlinux.org/packages/nir

Or is my autocomplete broken?? because mine certainly can't find that package using autocomplete, have to type manually

Eugene :freebsd: :emacslogo:evgandr@bsd.cafe
2025-12-06

@jwildeboer @homelab I had the script, which did the work like described:

- Takes all picture files in current directory (using find+file commands for that)
- Renames files with YYYYMMDD_HHMMSS pattern using the EXIF creation date or filesystem's mtime if no EXIF.
- If there are some files made in the same time — the "_DN" (N is a number) suffix will be added to the filenames to prevent loss of such files during rename.
- Has an option for test run, without real rename.
- Has an option to skip already renamed files.

Note: it was written for Bash first, so it will work not only for ZSH (after adding a proper she-bang) — I just used it as ZSH function.

codeberg.org/evgandr/dotfiles/

#shell #script #exif #exiftool #zsh #bash

Bryan Whiteheadbryan@dusty.ninja
2025-12-06

ohmyz.sh (Oh my zsh) has an update of `omz shop` that opens a browser to shop for merchandise (it is nice projects are finding ways to get reimbursed for work imho). Another tidbit shared from @sdolan is the PR was done by #copilot on GitHub: https://github.com/ohmyzsh/ohmyzsh/issues/13427 #zsh #linux

Terminal.app view at an `omz update` with a red circle highlighting the `omz shop` command being added for purchasing merchandise.
Henry Bley-Vromanolets@hachyderm.io
2025-12-05

Released two zsh-abbr features I'm excited about last week (v6.4.0):

You can customize the abbreviation delimiters (with caveats, makes it possible to expand abbreviation inside parenthesis and quotation marks). Write-up: github.com/olets/zsh-abbr/pull

And you can expand "regular" abbreviations in command position anywhere on the line not just in the first command position (experimental opt-in). Write-up: github.com/olets/zsh-abbr/pull

#zsh #ZshAbbr #terminal #CommandLine #TextExpansion #DevTools

2025-12-04

@cinimodev In my opinion, #ZSH is a gateway from #Bash to #Fish, so you're already there ;)

2025-12-04

">R>" appears in Oh-my-zsh prompt with agnostic theme for only one repo #git #zsh #prompt

askubuntu.com/q/1560392/612

Luzzy :verified_trans:meluzzy@woof.tech
2025-12-04

Have some random aliases and functions from my .zshrc
#zsh #fedora

popout() (                          # runs a program and ejects it from console
    nohup $* >/dev/null 2>&1 &
)

open() (                            # open a file with default program
    xdg-open $* >/dev/null 2>&1
)

fm() (                              # open the file manager
    popout nautilus $*
)

fmsu() (                            # open the file manager as super user
    popout nautilus "admin:$(realpath $*)"
)export PI=3.14159265358979323844 # $(echo "4*a(1)" | bc -l)
export EDITOR='micro'
export VISUAL='micro'
alias edit='micro'
alias ted='micro'
alias ved='codium'
alias sudo='doas'                   # more secure sudo
alias wget='wget -c'                # allows continuing downloads
alias bc='bc -lq'                   # start basic calculator with mathlib functions
alias mkdir='mkdir -pv'             # create parent folders
alias cls='clear'
alias cb='wl-copy'                  # pipeable clipboard
alias path='echo -e ${PATH//:/\\n}' # print path
alias findstr='grep -snERHI'        # find text somewhere in pwd, recursive
alias meminfo='free -m -l -t'
alias cpuinfo='lscpu'
alias timenow='date +"%T"'
alias datenow='date +"%Y-%m-%d"'    # print date in the good format
alias webget='wget -m -p -E'        # archive website
alias walk='find .'                 # a dog walks into a bar
alias tree+='lsd --tree'            # tree of pwd with icons
alias tree.='tree -a .'             # tree of pwd
alias find.='find . -wholename'     # find file by name/path in pwd, recursive
alias reload='clear; exec zsh'      # reload shell
alias echo-='exec >/dev/null 2>&1'  # disable echo
alias echo+='exec > $(tty) 2>&1'    # enable echo
2025-12-04

Jalp! T_T Strange bug, appears >R> at the prompt with agnostic theme of Oh-my-zsh #themes #fonts #zsh

askubuntu.com/q/1560392/612

2025-12-03

I guess it works for the main #Bazzite shell, which I mostly use to launch #zsh (has its own atuin instance) for development, but also to turn my TV on and off lol

Your Top Commands:

376 zsh      
66 tv_off   
50 ujust    
34 tv_on    
34 cd       
28 clear    
26 fastfetch
22 exit     
22 flatpak  
22 ls

Total commands:   1000
Unique commands:  160
nocci [cyberpunk'd]nocci@punk.cyber77.de
2025-12-03

#Fish oder #ZSH... und warum oder was anderes?

#LinuxShell

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst