this post was submitted on 20 Sep 2023
140 points (97.9% liked)

Linux

48375 readers
1541 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
 

From bash to zsh and everywhere in between, show me yours and I'll show you mines. Inspire others or get some feedback.

Simply copy & paste the output of alias in your terminal or add some comments to explain things for others.

Edit: Kbin users, click 'More' on a comment and use the fediverse link to read responses that have funky formatting

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 1 year ago (2 children)

vim grindset 💪

alias q=exit
alias :q=exit
alias :wq=exit
[–] [email protected] 3 points 1 year ago (1 children)
[–] gamma 3 points 1 year ago (1 children)

That would make my shell unusable, since some plugins use ./source.

[–] [email protected] 3 points 1 year ago (1 children)

./ and . Are two different things to your shell

[–] gamma 3 points 1 year ago* (last edited 1 year ago) (1 children)

I know; I'm not talking about ./. I put the slash outside the inline codeblock in the parent comment.

My shell is setup with a chdir hook to [[ -r. /.autoenv.zsh ]] && . ./.autoenv.zsh.

(Edit: Jerboa is bugged with "&" in codeblocks, that should be a "&&", not &&)

[–] [email protected] 2 points 1 year ago

Ah, ok. For me it was an alias common in the university labs back on Ultrix. Became a habit way back then.

[–] [email protected] 2 points 1 year ago (1 children)

I have :q to exit too since i was trying to exit shell with :q. I guess (n)vim users cant exit their shells :)

[–] [email protected] 2 points 1 year ago

we spent so much time learning to exit vim, we forgot how to exit shell 😔