View previous topic :: View next topic |
Author |
Message |
jerep6 Apprentice
Joined: 02 Aug 2006 Posts: 215 Location: Landes
|
Posted: Sun Feb 03, 2008 10:03 pm Post subject: [Bash-Completion] Comportement page up différent [Résolu] |
|
|
Salut, j'ai installé bash-complétion et depuis le comportement de la touche "Page up" est différent. Maintenant ça affiche "~" dans la console au lieu de compléter la commande en cours (comportement normal chez gentoo).
Comment retrouver le comportement normal ?
P.S. J'ai désinstallé bash-complétion mais c'est tjs pareil => "~".
Last edited by jerep6 on Mon Feb 04, 2008 7:19 pm; edited 1 time in total |
|
Back to top |
|
|
angela Apprentice
Joined: 16 Feb 2005 Posts: 150
|
Posted: Sun Feb 03, 2008 10:50 pm Post subject: |
|
|
Hum, normalement c'est dans ton /etc/inputrc. Dans le mien j'ai ça:
Code: | "\e[5~": history-search-backward
"\e[6~": history-search-forward
|
|
|
Back to top |
|
|
jerep6 Apprentice
Joined: 02 Aug 2006 Posts: 215 Location: Landes
|
Posted: Mon Feb 04, 2008 7:18 pm Post subject: |
|
|
C'est bon, j'ai trouvé.
En fait quand tu crées un fichier .inputrc tu n'as plus le fonctionnement des touches page up et page down. Il faut que tu mettes Code: | "\e[5~": history-search-backward
"\e[6~": history-search-forward |
dans le fichier ~/.inputrc pour retrouver le comportement normal.
Est ce que l'effet du /etc/inputrc est annulé quand on a un ~/.inputrc ?
Merci. |
|
Back to top |
|
|
angela Apprentice
Joined: 16 Feb 2005 Posts: 150
|
Posted: Mon Feb 04, 2008 7:36 pm Post subject: |
|
|
jerep6 wrote: |
Est ce que l'effet du /etc/inputrc est annulé quand on a un ~/.inputrc ?
|
En général oui, les fichiers de configuration locaux priment sur les globaux. |
|
Back to top |
|
|
|