[Terminal] Commande démarrant automatiquement
Le
bgrandin

Chaque fois que je lance un terminal, il exécute une vieille commande
d'importation de clés GPG (toujours la même), juste après le welcome :
gpg --recv-key XXXXXXXXXX
Ce n'est pas épouvantable, mais un peu lassant, à la longue. Même en
cherchant bien, je n'ai pas trouvé de fichier caché qui s'exécutait
automatiquement.
Comment éliminer le problème ?
Une idée ?
--
Benoît Grandin
bgrandin@bdzone.com
http://www.bdzone.com Le portail BD
--
d'importation de clés GPG (toujours la même), juste après le welcome :
gpg --recv-key XXXXXXXXXX
Ce n'est pas épouvantable, mais un peu lassant, à la longue. Même en
cherchant bien, je n'ai pas trouvé de fichier caché qui s'exécutait
automatiquement.
Comment éliminer le problème ?
Une idée ?
--
Benoît Grandin
bgrandin@bdzone.com
http://www.bdzone.com Le portail BD
--
Bash ?
Si oui, .login
tcsh : .tcshrc
--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.
Ah ben voilà :)
'tain, il est où le pdf que j'avais fait du man de bash... ;)
Valà tout comme tu dis.
--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.
Oui, mais lui, il faut en faire plusieurs, y a plein de man ;-)
--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.
man zshall
Si ca peut t'aider a refaire ton pdf, voici le moyen qui me semble le plus
court.
export PAGER="cat >/Users/ton_nom/Desktop/man_zshall.txt"
man zshall
export PAGER="less -i" (pour retablir un comportement normal)
ouvrir avec textedit, imprimer dans un pdf.
et si t'as un programme qui transforme le texte en pdf (appelons-le
txt2pdf)
export PAGER="txt2pdf -o /Users/ton_nom/Desktop/man_zshall.txt"
man zshall
--
Saïd.
Et il y en a pour 522 pages.
--
Saïd.
En plus des .profile et autre .tcshrc, il y a dans le terminal une
option :
Fais un "file/save as" et là surprise, tu peux demander d'exécuter une
commande à chaque ouverture d'une fenêtre de terminal.
Essaie de trasher les pref de Terminal.app, pour voir si c'est pas ça...
--
S'il n'y a pas de solutions, c'est qu'il n'y a pas de problèmes
iChat/AIM : michelnicolas
plutot $1 ici? On a le droit de faire
man truc
non?
Il vient d'ou pstopdf? C'est livre avec Panther? Moi je n'ai que ps2pdf qui
ne traduit pas du texte. (sous Jaguar)
--
Saïd.
Alors il faut enlever
elif [ $# == 1 ]; then
NOM=$1.pdf
man -t $1 | ps2pdf -i -o ~/Desktop/$NOM
Pour rester coherent.
--
Saïd.
Merci, je l'avais raté celui-là...
Bon, yapuka...
--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.
Cela dit, un pdf de 522 pages c'est pas tres facile a lire, a moins que tu
n'aies une fonction de recherche de texte dans les pdf?
--
Saïd.