eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

225
active users

#commandline

7 posts7 participants0 posts today

Notes from the PyCon open space session about dotfiles

Commonly-mentioned shells: fish, conch, zsh

Starship: Universal prompt written in rust starship.rs/

Chezmoi: dotfile manager - can also generate dotfiles based on a template chezmoi.io/user-guide/command-

Dotbot: another dotfile manager
github.com/anishathalye/dotbot

Atuin: magical shell history atuin.sh/

Direnv: activate venvs on entering a directory
Hammerspoon: automate MacOS UI actions with Lua code

Mise: replaces tools like pyenv, nvm, etc.
mise.jdx.dev/

Just: a command runner, similar to Make but only for triggering sequence of command github.com/casey/just

Simon Willison's llm for command-line access to LLMS: github.com/simonw/llm

Lazygit: CLI tool for git to do stuff github.com/jesseduffield/lazyg

Distrobox: run different Linux distributions in containers, but merge them with your host disk and dotfiles distrobox.it/

UV run: use it to run Python scripts in different venvs. Combine with command-line packages like Click or cyclopts to write and run your own scripts

thefuck: corrects weeks in the previous command in the history. Could alias it to 'wat' if you want to avoid the profanity
github.com/nvbn/thefuck

Article: How to train your keyboard tighten.com/insights/how-to-tr

Idea: put aliases in a separate file and then write an alias to edit that file and then source the newly-edited alias file.

Idea: start all your command name with a comma, so it's like a namespace for your customizations. Then you can hit comma-tab to get a list of your commands.

Overmind: process manager for running multiple processes inside a tmux session
github.com/DarthSim/overmind
Tmuxinator is similar: github.com/tmuxinator/tmuxinat

Offby1.website: Chris R's blog

terminaltrove.com/ - index of terminal apps that also will send emails about new tools

starship.rsStarship: Cross-Shell PromptStarship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and Powershell.

"The Linux Command Line" (2nd Edition) offers a comprehensive journey from first keystrokes to advanced Bash scripting.

Linux, building on its rich Unix heritage, became the bedrock of internet infrastructure and the open-source movement.

From dedicated distros like Kali to forensic analysis, network defense, and system hardening, a granular understanding of the command line is key. This book reinforces that expertise.

#Linux #CommandLine #Bash #Cybersecurity

Written by @william_shotts

blog.mozilla.ai/smarter-prompt

For people interested in the basics of prompt optimization and interpretability.

For interpretability I built a tiny #commandline tool 😬 to measure word saliency in a prompt sent to a language model. As simple as it is, you can already use it to show bias in some models (eg. when you ask “write some [mask] code”, they assume [mask]==python 🤷)

The code for my tool is at github.com/mozilla-ai/prompt-s but there’s more about prompt optimization in the blog post!