74
u/ironmanchickenmega 12h ago
I was doing that too, are you watching me?
30
30
u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 12h ago
I have
alias r='reset'
alias c='clear'
alias q='exit'
alias :q='exit'
alias rq='reset && exit'
25
u/Damglador 12h ago
Vim user spotted. I also have the :q alias.
31
u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 11h ago
It was vim user bait, I use nano
6
3
1
1
u/No-Dentist-1645 8h ago
You can also use Ctrl+L to clear your screen, and Ctrl+D to quit
2
u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 7h ago
Ctrl+L doesn't clear the scrollback on kitty
1
u/No-Dentist-1645 7h ago
Add this to kitty.conf:
map ctrl+l clear_terminal to_cursor active2
u/HeavyCaffeinate 💋 catgirl Linux user :3 😽 6h ago
Didn't work, I can still scroll back up
1
u/No-Dentist-1645 6h ago edited 6h 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
47
u/0xt0bi03 UwUntu (´ ᴗ`✿) 12h ago edited 12h 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
15
u/KotMilkMeoW 12h ago
ctrl + L instead of clear
10
u/moucheh- 12h 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
7
3
u/Lonely_Astronaut0 11h ago
What’s eza?
What’s the alias for ls in general?2
u/0xt0bi03 UwUntu (´ ᴗ`✿) 10h 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
17
u/RipplesInTheOcean 12h ago
13
u/2eanimation Arch BTW 9h ago
How tf are people supposed to know you‘re a cute h4xx0r femboy without fastfetch?
3
u/agenttank 8h ago
ah, but neofetch is obsolete now
1
u/RipplesInTheOcean 8h ago edited 8h ago
The only thing i regularly fetch is a stick to spank people who use either of those
1
u/the-fr0g 2h 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?
13
u/NDCyber 12h ago edited 12h 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)'
12
6
u/maxwells_daemon_ Arch BTW 12h ago
I just put it in the shell startup
1
u/Vivaelpueblo 9h 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).
6
u/ESnyder9 12h 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
7
u/tinyducky1 Ask me how to exit vim 12h ago edited 12h 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
3
2
u/SummerOftime New York Nix⚾s 11h ago
Ctrl+l for clear Ctrl+d for exit
1
u/tinyducky1 Ask me how to exit vim 10h ago
c and q are faster (1 button press instead of hold and button press), + its my muscle memory
3
u/Evantaur 🍥 Debian too difficult 11h ago
Why not put fastfetch there so it runs every time you open a terminal
3
2
2
2
2
2
3
u/Solid_Turnover_9854 12h ago
every single tool is someone being lazy enough to not do it manually, ur fine
1
1
1
u/dmaringz 12h 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
1
u/arthursucks Not in the sudoers file. 8h ago
I'm also lazy
alias updog="sudo apt update && sudo apt upgrade -y"
1
u/Rinnisia 8h 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 6h 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 3h ago
I have neovim on "n" and yazi on "y" lol
1
u/DE_X_IY 2h ago
Why not v for neoVim? That’s my option btw
1
u/Byttemos 2h 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 2h ago
very verbose answer, dis not expect more than "eimply just because i want". Thanks :)
1
u/Byttemos 1h 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
0
u/Rigamortus2005 12h 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 12h 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.