coleman

joined 2 years ago
[–] coleman@lemmy.ml 1 points 1 year ago

I do this but with xx because I'm too scared

[–] coleman@lemmy.ml 2 points 1 year ago

My variant (u mean "up" in my head)

alias u  ='cd ..'
alias uu ='cd ../..'
alias uuu='cd ../../..'
[–] coleman@lemmy.ml 1 points 2 years ago

👎👎👎👎👎👎👎

[–] coleman@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)

After some research, fzy does a good portion of what I want. https://github.com/jhawthorn/fzy

I'm already an avid user of rlwrap, which can handle other kinds of completion.


UPDATE: After looking around, I've concluded the tool I want doesn't exist, yet.

 

I'd like to include some interactive menus and prompts in my shell scripts.

dialog is fine, but it takes over the entire screen (maybe there's a way to not do that?) with its ncurses UI. Ideally, I'd like output similar to this Go library.

Anyone know of any standalone tools I could install to avoid writing my own?

[–] coleman@lemmy.ml 3 points 2 years ago

The other answers are great. But consider the following, as well.

All the mainstream package managers rely on POSIX-ish shell interpreters. Arch Linux PKGBUILD files require bash syntax, specifically.

RPM and .deb package formats literally embed shell scripts to perform pre- and post-installation tasks. They treat these scripts like hooks.

For instance, a common task would be to create requires users and directories for a program. Quite literally something like mkdir -p /var/lib/myprogram.

 

Hi! I'm new to LibreWolf. Giving it a try as my default browser on Pop OS 21.04 (soon to be 21.10).

It's all great so far. I understand that there are times when I'll want to use "regular" Firefox for my work or for Netflix or whatever. But a lot of sites work great, even with the defaults.

Now, my question:

I installed from flatpak, and xdg-open (or just clicking urls from my email client) doesn't work. Here's the error message I get after maybe 5 seconds.

Is this because I'm using flatpak? Or is this an ubuntu thing? Or is it a LibreWolf settings thing?

I'd be willing to build from source if that would fix this behavior. But I thought I'd ask first.