this post was submitted on 11 Jul 2023
15 points (94.1% liked)

Linux

48031 readers
1225 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I am currently looking for a way to easily store and run commands, usually syncing files between two deeply nested directories whenever I want.

So far I found these projects:

Other solutions:

  • Bash history using ^+r
  • Bash aliases
  • Bash functions

What do you guys use?

you are viewing a single comment's thread
view the rest of the comments
[–] WretchedRefrigerator@lemmy.zip 2 points 1 year ago* (last edited 1 year ago) (1 children)

Fish shell is great, but the more I've used it, the more incompatibilities I've found:

  • Can't use subshells
  • Can't use bash syntax (it would help if bass would process all commands by default)
  • Can't use bash completions (there's a script to do that, but it makes start very slow)

Other than that, it just works by default (unlike zsh) and it works even better with an easy-to-install Tide

[–] nlm@beehaw.org 2 points 1 year ago

Yeah, it has its downsides. zsh with some addons is probably better overall. Or if you're at least aware of it's differences from bash and can work with that.