85
u/ironmanchickenmega 1d ago
I was doing that too, are you watching me?
31
46
u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 1d ago
I have
alias r='reset'
alias c='clear'
alias q='exit'
alias :q='exit'
alias rq='reset && exit'
40
u/Damglador 1d ago
Vim user spotted. I also have the :q alias.
50
u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 1d ago
It was vim user bait, I use nano
12
4
1
2
2
u/No-Dentist-1645 1d ago
You can also use Ctrl+L to clear your screen, and Ctrl+D to quit
3
u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 1d ago
Ctrl+L doesn't clear the scrollback on kitty
1
u/No-Dentist-1645 1d ago
Add this to kitty.conf:
map ctrl+l clear_terminal to_cursor active2
u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 1d ago
Didn't work, I can still scroll back up
2
u/No-Dentist-1645 1d ago edited 1d ago
Are you sure you set it properly? I have that config set and it does exactly what it's supposed to do, you might have to reload the current terminal
See the doc examples in https://sw.kovidgoyal.net/kitty/actions/#action-clear_terminal , if it really doesn't work then you should report it as a bug
EDIT: Correction, it only clears the last entered command, what you actually want is:
map ctrl+l combine | clear_terminal to_cursor active | clear_terminal scrollback active2
1
56
u/0xt0bi03 UwUntu (´ ᴗ`✿) 1d ago edited 1d ago
nah you are not lazy, also use
alias ff='clear && fastfetch'
use eza instead of ls
alias ls='eza -l --icons=auto --color=auto'
if you do not have eza, install it with your package manager
edit: also use ohmyposh for beautiful prompts, i open terminal 100 times a day in my pc just to look at it
20
u/KotMilkMeoW 1d ago
ctrl + L instead of clear
11
u/moucheh- 1d ago
The difference here is that the prompt is not written before the fastfetch
Ctrl+L just moves the prompt to the top of the terminal window It doesn't erase previous text like clear does
8
3
u/Lonely_Astronaut0 1d ago
What’s eza?
What’s the alias for ls in general?3
u/0xt0bi03 UwUntu (´ ᴗ`✿) 1d ago
if you ever have riced with wayland compositor, ls would automatically add an alias that detect the theme of the desktop environment and print out with the color panel accordingly. so defaultly ls would have 'ls --color=auto'
1
21
u/RipplesInTheOcean 1d ago
14
u/2eanimation Arch BTW 1d ago
How tf are people supposed to know you‘re a cute h4xx0r femboy without fastfetch?
3
u/agenttank 1d ago
ah, but neofetch is obsolete now
1
u/RipplesInTheOcean 1d ago edited 1d ago
The only thing i regularly fetch is a stick to spank people who use either of those
2
u/the-fr0g 1d ago
Ok, it may not be useful, but don't you ever just start 3 terminals, fastfetch one one, a bunch of ls's on another, and just look at how cool your setup is?
17
12
u/NDCyber 1d ago edited 1d ago
honestly understandable. Configuring your bash or fish file can be nice
As example here is my fish for debian based distros
alias bat='batcat'
alias batman='fastfetch ; vulkaninfo --summary 2>/dev/null | grep 'driverVersion''
alias fmake='make -j16'
function fish_greeting
end
Edit: After reading comments I actually now added the following:
alias c='clear'
alias q='exit'
alias m='make'
alias mc='make clean'
alias mr='make remake'
alias mf='make -j$(nproc)'
8
u/maxwells_daemon_ Arch BTW 1d ago
I just put it in the shell startup
3
u/Vivaelpueblo 1d ago
As God intended.
Plus don't forget the following hash comment just above the line that starts fastfetch:
#Pathetic flex
Which in my case is entirely true with my 7 year old eBay Dell laptop (i7 to be fair but still not great).
1
u/Firminter Arch BTW 21h ago
Genuinely really good if you need to SSH into a server so you get an overview of system stats
6
u/ESnyder9 1d ago
how often are you using fastfetch to do this lol
i think i've shown someone my distro with one of the *fetch things once in 5+ years
5
4
u/Evantaur 🍥 Debian too difficult 1d ago
Why not put fastfetch there so it runs every time you open a terminal
7
u/tinyducky1 Ask me how to exit vim 1d ago edited 1d ago
alias t='tmux'
alias ta='tmux attach'
alias c='clear'
alias q='exit'
alias v='hx'
EDIT: v was because i originally used vim
4
2
u/SummerOftime New York Nix⚾s 1d ago
Ctrl+l for clear Ctrl+d for exit
1
u/tinyducky1 Ask me how to exit vim 1d ago
c and q are faster (1 button press instead of hold and button press), + its my muscle memory
3
2
2
2
2
2
2
3
u/Solid_Turnover_9854 1d ago
every single tool is someone being lazy enough to not do it manually, ur fine
1
1
1
u/dmaringz 1d ago
You're fine, automation isn't laziness (or actually, it's a good kind of lazines). May I ask though why do you feel the need to have a shortcut to fastfetch? Is fastfetch something you use daily or multiple times a day? If so, why, what are you using it for? If you're using it to display RAM usage or disk usage, there are better alternatives than fastfetch for that.
1
1
1
1
1
1
u/arthursucks Not in the sudoers file. 1d ago
I'm also lazy
alias updog="sudo apt update && sudo apt upgrade -y"
1
u/Rinnisia 1d ago
I'd be more likely to do it for frequently used commands to avoid frustrating myself with typos than I would out of laziness, tbh.
1
1
1
1
u/SalaryImpossible6749 1d ago
Why alias a command you use once or twice to get a screenshot?
Not putting you down, I have it aliased to ff but I never use it
1
1
1
u/Byttemos 1d ago
I have neovim on "n" and yazi on "y" lol
1
u/DE_X_IY 1d ago
Why not v for neoVim? That’s my option btw
1
u/Byttemos 1d ago
Idk, I didn't migrate from Vim like many others did, so "n" just seemed fitting. I also use a split keyboard, so having the key and the return key on the same half of the keyboard lets me launch neovim whilst taking a sip of coffee, writing stuff down, whatever (I'm left-handed)
1
u/DE_X_IY 1d ago
very verbose answer, dis not expect more than "eimply just because i want". Thanks :)
1
u/Byttemos 1d ago
hahah, I mean to be fair, "because I want to" is probably the real answer - the rest is just marginal differences. But then again, this post is very much about "the little things", and we're here for it!
1
1
u/Loose_Property_3238 1d ago
I use f aliased to nvim (a custom QoL command) and fi to fuzzy find and cd into the project root. Efficiency.
1
1
1
1
1
0
u/Rigamortus2005 1d ago
How often are you running fastfetch that you need an alias for it. I don't even have any fetch tools on my computer

•
u/AutoModerator 1d ago
Please report any posts bragging or showing off they got banned in another sub! Reminder of other sub rules: Also, we only allow one anti-linux post per week (we used to get dozens a day) and any tier list MUST have Hanna Montana Linux as S teir (which must be a true S tier at the top) regardless of the topic of that tier list.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.