Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bash Completion on ssh and putty all'avvio della sezione
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Wed Jan 24, 2007 6:42 pm    Post subject: Bash Completion on ssh and putty all'avvio della sezione Reply with quote

Ciao a Tutti :D
è da un bel pò che non mi faccio sentire causa lavoro quindi poco/niente tempo libero a disposizione :(
Ho la necessità di usare putty via ssh per i vari server gentoo che ho in giro solamente che non ho abilitato in automatico "l'autocompletamento" che trovo utilissimo.
Ho emerso i vari bash-completion, eselect ....
Ho impostato nella home il .bashrc che ha solamente questa riga:
Code:
[[ -f /etc/profile.d/bash-completion ]] && source /etc/profile.d/bash-completion

ma per averla abilitata devo ogni volta entrato dare un:
Code:
source /etc/profile.d/bash-completion

e dopo funziona.
Non credo sia putty il problema in quanto funziona dopo aver lanciato a mano il source.
C'è qualche opzione nella config di sshd per far sì che all'avvio della sezione carichi il .bashrc? :?:

Truzzone :)
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Wed Jan 24, 2007 7:01 pm    Post subject: Reply with quote

Code:

gutter@giskard ~ $ cat .bash_profile
# /etc/skel/.bash_profile:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bash_profile,v 1.10 2002/11/18 19:39:22 azarah Exp $

#This file is sourced by bash when you log in interactively.
[ -f ~/.bashrc ] && . ~/.bashrc

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Wed Jan 24, 2007 7:11 pm    Post subject: Reply with quote

Mitico :D !
Grazie mille ma scusa come mai non era scritto nell' emessage quando ho emerso la bash-completion insieme alla riga da aggiungere a .bashrc? :?:

Grazie ancora :wink:

Truzzone :)
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Jan 25, 2007 4:49 pm    Post subject: Reply with quote

Ti serve il .bash_profile per una shell interattiva.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum