KE-complex_modifications
fish-shell
Our great sponsors
KE-complex_modifications | fish-shell | |
---|---|---|
19 | 319 | |
0 | 24,331 | |
- | 2.2% | |
0.0 | 9.9 | |
about 2 years ago | 7 days ago | |
Rust | ||
The Unlicense | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
KE-complex_modifications
-
My favourite Git commit (2019)
This bad commit message keeps resurfacing on HN front page like beach litter. I would just go with "Remove non-breaking space characters" instead of writing a Russian novel. Also, if you're on macOS just use a Karabiner rule [0] that converts all non-breaking space characters to regular space characters to prevent yourself from accidentally typing it out.
[0] https://ke-complex-modifications.pqrs.org/#nonbreaking_space
-
emacs has ruined my navigation in other apps
On macOS I use Karabiner-Elements. I remapped right Command to Control and now have two Control and two Meta keys, and can use one hand for modifier keys and the other for letter. For the occasional Command I use the left one. I’ve also extended a bit Emacs complex modifications and I’m quite happy withe the setup. Caveat: I think that due to how I use modifier keys the double keys combinations don’t always work. But have never debugged it deeper.
-
Apps that should be paid, but are not (Part 2)
More resources on this - https://ke-complex-modifications.pqrs.org/
- Things I can’t do on macOS which I can do on Ubuntu
-
Mouse integrated on the keyboard
I'm using mouse keys with karabiner: https://ke-complex-modifications.pqrs.org/. It emulates a mouse with the keyboard. It works quite well.
- Mouseable: Replace a Mouse or Tackpad with the Keyboard
-
Ask HN: Skill you want to learn in 2022?
You can use https://karabiner-elements.pqrs.org/ to change that. It would either require writing your own complex modification, or maybe it's already somewhere in their public repo https://ke-complex-modifications.pqrs.org/?q=german
Other solution would be to use something like Keyboard Maestro.
-
Command Palettes: How Typing Commands Became the Norm Again
Could you share your config? I couldn't find your modification on https://ke-complex-modifications.pqrs.org/.
-
Just mapped my caps lock to escape for the first time...
It's here: https://ke-complex-modifications.pqrs.org/#caps_lock
fish-shell
- Oh My Zsh
-
Converting the Kernel to C++
A recent practical example of the former: the fish shell re-wrote incrementally from C++ to Rust, and is almost finished https://github.com/fish-shell/fish-shell/discussions/10123
An example of the latter: c2rust, which is a work in progress but is very impressive https://github.com/immunant/c2rust
It currently translates into unsafe Rust, but the strategy is to separate the "compile C to unsafe Rust" steps and the "compile unsafe Rust to safe Rust" steps. As I see it, as it makes the overall task simpler, allows for more user freedom, and makes the latter potentially useful even for non-transpiled code. https://immunant.com/blog/2023/03/lifting/
-
Fish shell 3.7.0: last release branch before the full Rust rewrite
And this discussion from November has an update on the progress: https://github.com/fish-shell/fish-shell/discussions/10123
-
Day 5 - More or less...
We're using bash as our terminal shell for now (it is standard in many distros) but it is not the only one out there. If you want to test out zsh, fish or oh-my-zsh, you will see that there are a few differences and the features are usually the main differentiator. Try that, poke around.
-
Fish – Update on the Rust Port
> 1. It's amazing that they're doing this as a gradual C++ to Rust rewrite, while keeping it working end-to-end, if I understand correctly.
Seems to me they're not doing it gradually at all.
> Another thing:
> We plan on not doing any partial-rust release.
> That means we would be doing e.g. fish 4.0 as fully rust and zero C++, and I think, contrary to what we usually do that warrants a beta. (Ordinarily we've stopped doing betas and release candidates because they simply don't get any testing).
> We also still want to do a 3.7.0 in-between release that is still purely C++, so we have a better jumping off point for platforms that can't handle the rust version. It would be 3.6.1 with some neat changes backported.
https://github.com/fish-shell/fish-shell/discussions/10123#d...
It has nothing to do with Windows. fish doesn't support Windows. Their use of wchar_t is the glibc wchar_t (wchar_t is not Microsoft-specific) which is a 32-bit type and stores UTF-32-encoded codepoints. The Rust type they're using is also the same ( https://github.com/fish-shell/fish-shell/blob/master/doc_int... ).
More on the motivation behind the rewrite.
https://github.com/fish-shell/fish-shell/pull/9512#issuecomm...
They have a variety of reasons to move to rust, as outlined in their original rust discussion[1]. Mostly around finding other contributors, and adding an async/parallel mode they're comfortable with.
What are some alternatives?
powerlevel10k - A Zsh theme
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
nushell - A new type of shell
oh-my-fish - The Fish Shell Framework
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
tokyonight.nvim - 🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
exa - A modern replacement for ‘ls’.
oh-my-bash - A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
kube-ps1 - Kubernetes prompt info for bash and zsh
fzf - :cherry_blossom: A command-line fuzzy finder
HomeBrew - 🍺 The missing package manager for macOS (or Linux)