yeah fair enough. that wasn’t really my point and I wasn’t paying attention
- 0 Posts
- 12 Comments
yeah it’s incorrect bc it destroys multibyte characters, butno idea what you’re saying about u8 being a different type from unicode. the original code was reading bytes and converting them too? the typing isn’t the issue, you can still store utf8 as a series of bytes
brian@programming.devto Linux@programming.dev•Why Microsoft open sourced PowerShell and ported it to Linux3·22 days agoI mean, I’m not a big fan of bash, the most likely default shell, so my advice would be to explore some alternate shells.
I am a little surprised completions aren’t working in bash by default, but yeah idk if it’s possible to get the cycling through suggestions. double tap tab and it should at least list the options though.
I’d recommend you hop between some shells and see what you like. most distros tend to keep the default shell pretty vanilla, the most change you’ll get is maybe zsh with some nicer defauls.
nushell is great and would be my first recommendation. everything is structured like powershell, but way less verbose and more emphasis on integrating the existing cli ecosystem than pwsh’s commandlets for everything.
fish or oh-my-zsh are things other people recommend. you don’t get structured data but they do give a better completion experience and other nice things
I want to like xonsh, and used it for a few years, but it has the same problems pwsh has with separate ecosystems of structured commands and unstructured text. if you’re a python person though I’d consider it too though.
brian@programming.devto Linux@programming.dev•Why Microsoft open sourced PowerShell and ported it to Linux131·22 days agothere are other shells that have all the nice powershell things without the weird stuff (at least for not windows people), like nushell
although I wouldn’t be surprised if powershell was the thing that started the trend of better shells
for some people it’s nice to start from nothing and build up config, I’d recommend doom for anyone else. it’s nice to be given a file with all the settings you can change instead of having to do it all yourself.
brian@programming.devto Linux@programming.dev•Progress towards universal Copy/Paste shortcuts on Linux2·1 month agoyeah, if you bind ctrl c and ctrl v to copy and paste keys, you can get the same behavior in terminals and other apps that have weird default bindings for ctrl c and v for historical reasons
brian@programming.devto Linux@programming.dev•Progress towards universal Copy/Paste shortcuts on Linux1·1 month agoit is nice to be able to plug your keyboard into a new computer and have all your shortcuts and layout set up though. I do that so I have the same layout and shortcuts on my personal and work computers regardless of os
brian@programming.devto Linux@programming.dev•Progress towards universal Copy/Paste shortcuts on Linux4·1 month agono, there are dedicated keycodes for copy and paste, and you can bind them to whatever
brian@programming.devto Linux@programming.dev•Progress towards universal Copy/Paste shortcuts on Linux3·1 month agoctrl v is convention for paste, but plenty of things (ex terminals) use that for something else. this is a universal (wrt the app receiving it) keycode that means paste. it lets you bind a key, or a keyboard shortcut, to the paste key and paste in any app. without this it isn’t possible.
it doesn’t even have to be a new programmable keyboard. there exist software key remappers for linux.
you could remap a mouse button to paste, you could remap ctrl v to always paste regardless of the app, etc., all in software, all not possible before.
brian@programming.devto Linux@programming.dev•GitHub - vinifmor/bauh: Graphical user interface for managing your Linux applications. Supports AppImage, Debian and Arch packages (including AUR), Flatpak, Snap and native Web applications2·2 months agoit seems like a new version of this kind of thing pops up often enough, but it seems like the people making them have never heard of AppStream. like I guess managing webapps too is unique, but everything else and more support AppStream, along with existing gui managers like kde discover, gnome software, etc
brian@programming.devto Programming@programming.dev•Any suggestions for a self-hosted CI that can also be run locally?1·2 months agogitea has had some organizational problems so a lot of people have been using forgejo instead, which is just a community fork of gitea plus some more features
probably about the same as like vapor smoothing abs with acetone. I think pla has solvents that work too but they’re much nastier