Post Au2UueAXTTb8RV6i1o by [email protected] | |
More posts by [email protected] | |
Post #Au2C1XNRE7v2H9iFyi by [email protected] | |
0 likes, 1 repeats | |
You can quickly toggle between your two most recent directories with ‘cd -‘… | |
Post #Au2CRAHhhsUKBWFc9I by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Many shells also let you use `~-` to refer to that directory in a pat… | |
Post #Au2CeCQr27uIbskKae by [email protected] | |
0 likes, 0 repeats | |
@gumnos very cool indeed | |
Post #Au2D2lrmwNOLSS3qW8 by [email protected] | |
0 likes, 1 repeats | |
@nixCraft :thonking: C:\>cd -The system cannot find the path specified. | |
Post #Au2D55EPufSc62kR8q by [email protected] | |
0 likes, 0 repeats | |
@nixCraft 😲 | |
Post #Au2DdpwAliKWnVmnOS by [email protected] | |
0 likes, 0 repeats | |
@nixCraft And tips like this is why I starting following you! I just learned so… | |
Post #Au2Drf4zvxbVB3VRdA by [email protected] | |
0 likes, 0 repeats | |
@catsalad @nixCraft 😂 | |
Post #Au2ENEpR4OZ51nHfDE by [email protected] | |
0 likes, 0 repeats | |
@catsalad 😵 | |
Post #Au2F41vAw2WRRrNCzI by [email protected] | |
0 likes, 0 repeats | |
@[email protected] also pushd and popd | |
Post #Au2F422cUMTdowr9ai by [email protected] | |
0 likes, 1 repeats | |
@remilia @nixCraft and use the dirs command to see the stack | |
Post #Au2FL3taqaiIUkkr8C by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Someone mentioned `pushd` and `popd` to me when I told them about `cd… | |
Post #Au2FXW4xt6WDNa0q2K by [email protected] | |
0 likes, 0 repeats | |
@nixCraft you can, in Windows Command Prompt and several other interfaces also … | |
Post #Au2Hdy3Wz17TnHXthI by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Similarly, 'git checkout -' switches you back to the previous… | |
Post #Au2L8ZoJTcolRBiNWq by [email protected] | |
0 likes, 1 repeats | |
@nixCraft jokes on you I use zoxide | |
Post #Au2MrU7zYEngnZtgOm by [email protected] | |
0 likes, 1 repeats | |
@nixCraft Oh cool, wonder if this works on windows. | |
Post #Au2UueAXTTb8RV6i1o by [email protected] | |
0 likes, 0 repeats | |
@nixCraft omg a game changer | |
Post #Au2lTcG4AYo7uzOBX6 by [email protected] | |
0 likes, 0 repeats | |
@janisf this is different, though. You can type a lot of commands after your se… | |
Post #Au2m6DATO7DDOcB0Xw by [email protected] | |
0 likes, 0 repeats | |
@[email protected] @[email protected] Sorry your linux distribut… | |
Post #Au2mBdwzErfDuNSUoS by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Are you going to switch to Zsh to teach more advanced cding? j/k | |
Post #Au2mrxx3GWqo6RfbDU by [email protected] | |
0 likes, 0 repeats | |
@bunni, yes, you'll still need $PWD and $OLDPWD for sh & dash. But if y… | |
Post #Au2mtB8fiji3ICgRF2 by [email protected] | |
0 likes, 0 repeats | |
@gumnos @nixCraft, similarly ~+ for the current directory. Like ~-, it's no… | |
Post #Au2mtBFlINNfeC06IC by [email protected] | |
0 likes, 0 repeats | |
@lp0_on_fire That one isn't in my active usage since I rarely need to turn … | |
Post #Au2mwGFLBfX60CGxea by [email protected] | |
0 likes, 0 repeats | |
@gumnos @lp0_on_fire 🤤 | |
Post #Au2sAX5DsuTk2tAGem by [email protected] | |
0 likes, 0 repeats | |
@nixCraft there's also pushd and popd! Pushd change to a directory putting … | |
Post #AuCG9gPZra740fS6qW by [email protected] | |
0 likes, 0 repeats | |
@nixCraft git supports this too btw. i.e. git checkout - to quickly switch back… |