cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 7 hours agoWhat's a handy terminal command you use often?message-squaremessage-square102fedilinkarrow-up173arrow-down11
arrow-up172arrow-down1message-squareWhat's a handy terminal command you use often?cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 7 hours agomessage-square102fedilink
minus-squareLalSalaamComrade@lemmy.mllinkfedilinkEnglisharrow-up1arrow-down2·edit-26 hours agoIt’s six letters. Can’t they just call it zd or something? Yeah sure, I can use aliases, but why complicate in the first place?
minus-squareLalSalaamComrade@lemmy.mllinkfedilinkEnglisharrow-up1·4 hours agoThis is most probably a distro-specific aliasing. Tried it on Guix, it does not work: $ z bash: z: command not found $ zoxide zoxide 0.9.2 ....
minus-squareunknowing8343@discuss.tchncs.delinkfedilinkarrow-up1·4 hours agoIt’s in the official docs for zoxide, you are supposed to use the z alias, and many distros just set it up directly like that. I love doing z notes from wherever I am.
minus-squareJeena@piefed.jeena.netlinkfedilinkEnglisharrow-up2·7 hours agoHm I wonder, is it really a command? I thought it is just a function of the shell to change the working directory.
minus-squareClassifiedPancake@discuss.tchncs.delinkfedilinkarrow-up2·3 hours agoA command is anything you execute in the shell. cd is just a built-in command
I really like that
cd
command. :PYou’ll love
zoxide
then.It’s six letters. Can’t they just call it
zd
or something? Yeah sure, I can use aliases, but why complicate in the first place?The command is ‘z’
This is most probably a distro-specific aliasing. Tried it on Guix, it does not work:
$ z bash: z: command not found $ zoxide zoxide 0.9.2 ....
It’s in the official docs for zoxide, you are supposed to use the z alias, and many distros just set it up directly like that. I love doing
z notes
from wherever I am.On arch the command is just
z
Hm I wonder, is it really a command? I thought it is just a function of the shell to change the working directory.
A command is anything you execute in the shell.
cd
is just a built-in command