summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/completion.zsh1
-rw-r--r--lib/termsupport.zsh2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index 9c2dfecca..e8e9776a5 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -4,6 +4,7 @@ unsetopt menu_complete # do not autoselect the first completion entry
unsetopt flowcontrol
setopt auto_menu # show completion menu on succesive tab press
setopt complete_in_word
+setopt complete_aliases
setopt always_to_end
WORDCHARS=''
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh
index e1e536690..2843eb075 100644
--- a/lib/termsupport.zsh
+++ b/lib/termsupport.zsh
@@ -6,8 +6,8 @@ function title {
if [[ "$TERM" == "screen" ]]; then
print -Pn "\ek$1\e\\" #set screen hardstatus, usually truncated at 20 chars
elif [[ ($TERM =~ "^xterm") ]] || [[ ($TERM == "rxvt") ]] || [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then
- print -Pn "\e]2;$2\a" #set window name
print -Pn "\e]1;$1\a" #set icon (=tab) name (will override window name on broken terminal)
+ print -Pn "\e]2;$2\a" #set window name
fi
}