Joel Bennett · @jaykul
365 followers · 547 posts · Server fosstodon.org

What if your shipped with Copilot?

I'm still not sure if this is something I need or not, but I got Microsoft's CodexCLI working (again), just so I could show it off.

This is how I want github CLI to integrate.

I *do* like the explanations the current Copilot CLI gives, but I want this in the readline because I want to be able to edit the command I get back.

i.imgur.com/8vbkF48.gif

P.S. My working fork is at github.com/Jaykul/ReadlineAI

#readline #copilot #powershell #bash #zsh #psreadline

Last updated 1 year ago

M@ · @Mrw
15 followers · 59 posts · Server hachyderm.io

Why am I supposed to be afraid of taking my job?

My current job is figuring out the exact set of instructions that will cause a computer program, be it the controller or or the compiler, to do what I want it to do.

If I try to imagine a dystopia where has taken my job, and I am relegated to figuring out the exact set of instructions that will cause a computer program, in this case an LLM, to do what I want it to do, well…gosh.

What a nightmare.

#ai #k8s #zsh #golang #codellama

Last updated 1 year ago

davidochobits · @davidochobits
664 followers · 860 posts · Server mastodon.bitsandlinux.com
Vladimir Mikhalev · @heyValdemar
3 followers · 66 posts · Server hachyderm.io
tomterl :emacs: · @tomterl
53 followers · 738 posts · Server fosstodon.org

thp now compiles against current harec/stdlib main branches, i.e. module and case-exhaustivity changes.

Let me know, if you run into any problems.

git.sr.ht/~tomterl/thp

#bash #zsh #thpd #harelang

Last updated 1 year ago

It's a me, Mauro · @mauro
1231 followers · 3750 posts · Server mograph.social

I finally managed to make my own .zshrc from scratch whilst getting rid of oh-my-zsh.

I have the same exact features I want but OH-MY-GOD my shell is faster!

#shell #zsh #linux

Last updated 1 year ago

Sophie :nixos: :ferris: · @sophie
134 followers · 231 posts · Server mastodon.catgirl.cloud

When tells you its history file is corrup, tells you its index file is corrupt and tells you its sqlite file is "not a database", that's not a good sign, is it?

Ah the joys of working with f2fs on a memory constrained system 😿

#zsh #git #nix

Last updated 1 year ago

AskUbuntu · @askubuntu
230 followers · 1794 posts · Server ubuntu.social

pyenv Python 3.11.5 install fails in Kubuntu 23.04

askubuntu.com/q/1484476/612

#kubuntu #python #zsh

Last updated 1 year ago

ClickHouse CI · @ClickHouseCI
25 followers · 283 posts · Server hostux.social

@edhowland I am hardly stuck into and happy with it

It's about scripts written on bash

#zsh

Last updated 1 year ago

ankur sethi is alive and well · @s3thi
163 followers · 478 posts · Server fantastic.earth

@samebchase i haven’t tried grammars yet. i’ll get to them once i have more of a handle on the rest of the language 😅

so far, i’ve used to solve a bunch of problems from the weekly challenges and to rewrite several scripts that used to live in my personal ~/bin directory.

i’ve also written some throwaway scripts to massage, rename, and reorganize files i rescued from an old backup.

i was initially writing some of these little scripts in , but i found to be much more concise for manipulating the filesystem and working with text.

#raku #zsh #python

Last updated 1 year ago

Snakeoil Outlet Center EF · @brazeL
28 followers · 367 posts · Server norden.social

Wenn man älter wird, kann die zsh HIstory soooooo wertvoll sein.

#altersack #zsh

Last updated 1 year ago

woshilapin · @woshilapin
2 followers · 16 posts · Server mamot.fr

Is there anyone using as a daily ? Do you like it? What are the pain points compared to , , ?

#nushell #shell #bash #zsh #fish #rust #rustlang

Last updated 1 year ago

Kevin Karhan :verified: · @kkarhan
1458 followers · 104859 posts · Server mstdn.social

@beforewisdom np.

Feel free to try out and ...

The latter one became 's Standard after went and froze the Version of bash for half a decade.

And with suites like one can really rice that setup harder than + ...

AFAIK @fuchsiii is rocking that setup...

#nvchad #neovim #OhMyZsh #Apple #gplv3 #Bash #macOS #zsh #fish

Last updated 1 year ago

Patrick Drechsler · @drechsler
71 followers · 109 posts · Server floss.social

Scratching your own itch.

This config will echo the current time after an ssh connection is disconnected.

Why?

I find this info useful when restarting remote server(s) via ssh:
"When can I consider testing the rebooted server/service?"

In the past I just manually entered the current time at the prompt.
This saves me the hassle.

Disclaimer: I'm sure there are better ways to do this, but this is what I came up with.

github.com/draptik/dotfiles/bl

#zsh

Last updated 1 year ago

Geekman · @Geekman
46 followers · 298 posts · Server bitbang.social

I briefly had a blog back when I was a Mac OS X Server admin (~15 years ago... sigh). It was a miserable failure but some of the tips and tricks might be worth revisiting today.

In the Terminal and SSH, I prefer listing directories using ls -Gal (colourized output, hidden files, long format), but I really hate typing it!

Create an alias ("list" in my case) in your or profile to make life easier and less error-prone.

alias list='ls -Gal'

linuxhint.com/configure-use-al

#terminal #macos #zsh #bash

Last updated 1 year ago

Stanislav Ochotnický · @drizzy
25 followers · 367 posts · Server cyberplace.social

If you need to copy-paste content from remote servers most terminals support OSC-52. For example to copy current path of (even remote) ZSH shell to clipboard I bind Ctrl-P:

------------
copy-current-path() {
print -Pn "\e]52;Pc;$(pwd|tr -d '\n'|base64)\e\\"
}

zle -N copy-current-path
bindkey '^P' copy-current-path
------------

You can wrap this in a script and use it in pipes as well. Doesn't depend on X forwarding etc.

#shell #zsh

Last updated 1 year ago

Zachary Cutlip · @zcutlip
411 followers · 1141 posts · Server hachyderm.io

periodic reshare since I use this many times a day

I could never remember VScode's syntax for remote editing over SSH, so I added a command-line shell function to my dotfiles to start start it up in remote editing mode with a specific file or folder on the remote

‘vscnr user@host /path/to/project/‘



#shell #zsh #vscode

Last updated 1 year ago

Mark McBride · @markmcb
3 followers · 26 posts · Server mas.to

My command line setup makes me feel like a hacker in a movie. :-)

markmcb.com/cli/tmux-zsh-fzf-u

#tmux #fzf #zsh #shell #homelab #cli #bsd #freebsd

Last updated 1 year ago

Anna | Dect 4662 · @Saraeg
151 followers · 1182 posts · Server digitalcourage.social

Wir alle sind die 😊
(Leider nicht im Bild: Flipdot aus Kassel)

#cccamp23 #zsh

Last updated 1 year ago

AskUbuntu · @askubuntu
216 followers · 1790 posts · Server ubuntu.social

How to deal with sh: 1: next: Exec format error?

askubuntu.com/q/1482638/612

#nodejs #zsh #npm

Last updated 1 year ago