I use pushd/popd quite a bit to navigate directories. I've also been using #fzf quite a bit with and without #vim. It's Alt + C mapping for the terminal is awesome. So I went ahead and created a new Alt + P mapping that does the same thing but uses #pushd instead of #cd. Here's the tweak to my `~/.bashrc` if anyone else wants to do it too:

https://github.com/sanjayankur31/100_dotfiles/commit/ae2a168ce18f9c849244e75a0fc94678f760dd0c

#bash #terminal #bashrc #terminal #cli

feat: add a alt+p using pushd · sanjayankur31/100_dotfiles@ae2a168

Dotfiles and other related files! Contribute to sanjayankur31/100_dotfiles development by creating an account on GitHub.

GitHub
#Unix #Shell #Question: does anyone make extensive use of #pushd and #popd? I tend only to use it if I’m repeatedly swapping between a couple of #directories but I’m pretty sure that it’s much more powerful than just that.
Use Pushd, Popd And Dirs Commands For Faster CLI Navigation In Linux

This simple guide describes how to use Pushd, Popd and Dirs commands for faster CLI navigation in Linux and Unix operating systems.

Use Pushd, Popd And Dirs Commands For Faster CLI Navigation In Linux

This simple guide describes how to use Pushd, Popd and Dirs commands for faster CLI navigation in Linux and Unix operating systems.

OSTechNix

C'est principalement le Memo 1 qui a inspiré les lecteurs de LinuxFr.org avec conseils pour ajout de deux nouvelles commandes :
- #pushd, #popd et #dirs : pour les allers et retours
- #CDPATH : pour les allés directs

https://www.grimoire-command.es/2018/memo_1.html

Et puis une belle partie sur la gestion des processus (en arrière plan) dans le Mémo 19 :

https://www.grimoire-command.es/2018/memo_19.html

Memo_1 : parcourir les dossiers et lister les fichiers

Table des matières 1. pwd : affiche le chemin du répertoire courant depuis la racine 2. ls : liste le contenu du répertoire courant 3. cd : changement de répertoire (change directory) 4. pushd, popd et dirs : pour les allers et retours 5. CDPATH : pour les allés directs 6. file : renvoie la nature …