base: set the title of the terminal when connecting to a server
This commit is contained in:
parent
a34f3d606b
commit
576e13db78
|
@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
- base: set the title of the terminal when connecting to a server
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- accounts: use "evobsd_internal_group" for SSH authentication
|
- accounts: use "evobsd_internal_group" for SSH authentication
|
||||||
|
|
|
@ -6,6 +6,15 @@ alias history="fc -l 0"
|
||||||
# Caracterisation du shell
|
# Caracterisation du shell
|
||||||
##
|
##
|
||||||
|
|
||||||
|
# If this is an xterm set the title to user@host:dir
|
||||||
|
case "$TERM" in
|
||||||
|
xterm*|rxvt*)
|
||||||
|
PS1="\[\e]0;\u@\h: \w\a\]$PS1"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
bind -m '^L'='^U 'clear'^M^Y'
|
bind -m '^L'='^U 'clear'^M^Y'
|
||||||
bind '^[[4~'=end-of-line
|
bind '^[[4~'=end-of-line
|
||||||
bind '^[[1~'=beginning-of-line
|
bind '^[[1~'=beginning-of-line
|
||||||
|
|
Loading…
Reference in a new issue