User:Rudxain/Unix: Difference between revisions
add sections for shells (including DEs) |
link Maxime CB blogpost, to explain the Zsh condition |
||
| Line 38: | Line 38: | ||
Note that you might not need a ''real'' Android device: you can install [[wikipedia:Waydroid|Waydroid]] on a regular distro. | Note that you might not need a ''real'' Android device: you can install [[wikipedia:Waydroid|Waydroid]] on a regular distro. | ||
== Choosing a DE == | ==Choosing a DE== | ||
There are 2 major options: | There are 2 major options: | ||
* If you like non-[[wikt:clutter|cluttered]] [[wikipedia:User_interface|UIs]], choose [[wikipedia:GNOME|GNOME]] | *If you like non-[[wikt:clutter|cluttered]] [[wikipedia:User_interface|UIs]], choose [[wikipedia:GNOME|GNOME]] | ||
* If you like [[wikt:versatile|versatility]] and [[wikipedia:Ergonomics|ergonomics]], choose [[wikipedia:KDE_Plasma|KDE Plasma]] | *If you like [[wikt:versatile|versatility]] and [[wikipedia:Ergonomics|ergonomics]], choose [[wikipedia:KDE_Plasma|KDE Plasma]] | ||
Everything else is "less standard", but still worth trying: | Everything else is "less standard", but still worth trying: | ||
* [[wikipedia:Cinnamon_(desktop_environment)|Cinnamon]] is the default on Mint | *[[wikipedia:Cinnamon_(desktop_environment)|Cinnamon]] is the default on Mint | ||
* There's also [[wikipedia:Xfce|Xfce]], if you want less bloat, but I've read that nowadays its [[wikipedia:Memory_footprint|memory footprint]] is in the same [[wikipedia:Guesstimate|ballpark]] as Plasma and GNOME.{{Citation needed}} | *There's also [[wikipedia:Xfce|Xfce]], if you want less bloat, but I've read that nowadays its [[wikipedia:Memory_footprint|memory footprint]] is in the same [[wikipedia:Guesstimate|ballpark]] as Plasma and GNOME.{{Citation needed}} | ||
== Choosing a shell == | ==Choosing a shell== | ||
<blockquote>Um acshually 🤓, "[[wikipedia:Shell_(computing)|shell]]" can refer to any kind of UI, not just text interfaces</blockquote>Yes, but for the purposes of this page, "shell" will refer to [[wikipedia:Read–eval–print_loop|REPL]] and [[wikipedia:Command-line_interface|CLI]] programs. | <blockquote>Um acshually 🤓, "[[wikipedia:Shell_(computing)|shell]]" can refer to any kind of UI, not just text interfaces</blockquote>Yes, but for the purposes of this page, "shell" will refer to [[wikipedia:Read–eval–print_loop|REPL]] and [[wikipedia:Command-line_interface|CLI]] programs. | ||
Let's be honest, [[wikipedia:Bash_(Unix_shell)|Bash]] and [[wikipedia:GNU_Readline|Readline]] have '''terrible defaults'''. No wonder [[wikipedia:Z_shell|Zsh]] and [[wikipedia:Fish_(Unix_shell)|Fish]] are so popular. HOWEVER, let me be clear that Bash can approximate the ergonomics of Zsh ''really well'', given that you configure it properly.<ref>https://github.com/Rudxain/dotfiles/blob/d02045700129609f2c6dfa91ebf9a54a9d81b012/.config/inputrc</ref><ref>https://github.com/Rudxain/dotfiles/blob/d02045700129609f2c6dfa91ebf9a54a9d81b012/.config/sh/rc#L24-L28</ref><ref>https://github.com/Rudxain/dotfiles/blob/d02045700129609f2c6dfa91ebf9a54a9d81b012/.bashrc#L5-L10</ref> | Let's be honest, [[wikipedia:Bash_(Unix_shell)|Bash]] and [[wikipedia:GNU_Readline|Readline]] have '''terrible defaults'''. No wonder [[wikipedia:Z_shell|Zsh]] and [[wikipedia:Fish_(Unix_shell)|Fish]] are so popular. HOWEVER, let me be clear that Bash can approximate the ergonomics of Zsh ''really well'', given that you configure it properly.<ref>https://github.com/Rudxain/dotfiles/blob/d02045700129609f2c6dfa91ebf9a54a9d81b012/.config/inputrc</ref><ref>https://github.com/Rudxain/dotfiles/blob/d02045700129609f2c6dfa91ebf9a54a9d81b012/.config/sh/rc#L24-L28</ref><ref>https://github.com/Rudxain/dotfiles/blob/d02045700129609f2c6dfa91ebf9a54a9d81b012/.bashrc#L5-L10</ref> | ||
I haven't tried Fish, because it looks bloated. However, I'd recommend it over Zsh, simply because Zsh is too similar to Bash. If you use a non-POSIX shell, why not go all the way and enjoy the benefits? ;) | I haven't tried Fish, because it looks bloated. However, I'd recommend it over Zsh, simply because Zsh is too similar to Bash. If you use a non-POSIX shell, why not go all the way and enjoy the benefits? ;) (the Zsh condition [https://pointersgonewild.com/2024/04/20/the-alternative-implementation-problem/ is sad]) | ||
Since we're talking about "anti-POSIX", maybe try [https://www.nushell.sh/ Nushell]? It's too weird for me, very "[[wikipedia:PowerShell|PowerShelly]]", lol. | Since we're talking about "anti-POSIX", maybe try [https://www.nushell.sh/ Nushell]? It's too weird for me, very "[[wikipedia:PowerShell|PowerShelly]]", lol. | ||