Diff
1diff --git a/lib/aliases.zsh b/lib/aliases.zsh
2index a7f699c19f1ad76390e3b0be8cfafd81c521ca05..2b58c4faa857c6b352ec2adf8d79badb659f1821 100644
3--- a/lib/aliases.zsh
4+++ b/lib/aliases.zsh
5@@ -17,7 +17,7 @@ alias history='fc -l 1'
6
7 # List direcory contents
8 alias lsa='ls -lah'
9-alias l='ls -lA1'
10+#alias l='ls -la'
11 alias ll='ls -l'
12 alias la='ls -lA'
13 alias sl=ls # often screw this up
14diff --git a/lib/completion.zsh b/lib/completion.zsh
15index ba839a067c81085e283c71cbd4ee4ead3c5a4727..e0cdcf626bfaf6250818f983e2bc954ec2fb6f53 100644
16--- a/lib/completion.zsh
17+++ b/lib/completion.zsh
18@@ -34,8 +34,10 @@ cdpath=(.)
19 # use /etc/hosts and known_hosts for hostname completion
20 [ -r /etc/ssh/ssh_known_hosts ] && _global_ssh_hosts=(${${${${(f)"$(</etc/ssh/ssh_known_hosts)"}:#[\|]*}%%\ *}%%,*}) || _global_ssh_hosts=()
21 [ -r ~/.ssh/known_hosts ] && _ssh_hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[\|]*}%%\ *}%%,*}) || _ssh_hosts=()
22+[ -r ~/.ssh/config ] && _ssh_config=($(cat ~/.ssh/config | sed -ne 's/Host[=\t ]//p')) || _ssh_config=()
23 [ -r /etc/hosts ] && : ${(A)_etc_hosts:=${(s: :)${(ps:\t:)${${(f)~~"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}} || _etc_hosts=()
24 hosts=(
25+ "$_ssh_config[@]"
26 "$_global_ssh_hosts[@]"
27 "$_ssh_hosts[@]"
28 "$_etc_hosts[@]"
29@@ -43,6 +45,7 @@ hosts=(
30 localhost
31 )
32 zstyle ':completion:*:hosts' hosts $hosts
33+zstyle ':completion:*' users off
34
35 # Use caching so that commands like apt and dpkg complete are useable
36 zstyle ':completion::complete:*' use-cache 1
37diff --git a/themes/essembeh.zsh-theme b/themes/essembeh.zsh-theme
38new file mode 100644
39index 0000000000000000000000000000000000000000..8c98ea1ed7324958c5b0c6079b0c2525019f79a5
40--- /dev/null
41+++ b/themes/essembeh.zsh-theme
42@@ -0,0 +1,31 @@
43+# Theme with full path names and hostname
44+# Handy if you work on different servers all the time;
45+
46+
47+local return_code="%(?..%{$fg_bold[red]%}%? ↵%{$reset_color%})"
48+
49+function my_git_prompt_info() {
50+ ref=$(git symbolic-ref HEAD 2> /dev/null) || return
51+ GIT_STATUS=$(git_prompt_status)
52+ [[ -n $GIT_STATUS ]] && GIT_STATUS=" $GIT_STATUS"
53+ echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$GIT_STATUS$ZSH_THEME_GIT_PROMPT_SUFFIX"
54+}
55+
56+# Colored prompt
57+ZSH_THEME_COLOR_USER="green"
58+ZSH_THEME_COLOR_HOST="green"
59+ZSH_THEME_COLOR_PWD="yellow"
60+test -n "$SSH_CONNECTION" && ZSH_THEME_COLOR_USER="red" && ZSH_THEME_COLOR_HOST="red"
61+test `id -u` = 0 && ZSH_THEME_COLOR_USER="magenta" && ZSH_THEME_COLOR_HOST="magenta"
62+PROMPT='%{$fg_bold[$ZSH_THEME_COLOR_USER]%}%n@%{$fg_bold[$ZSH_THEME_COLOR_HOST]%}%M%{$reset_color%}:%{$fg_bold[$ZSH_THEME_COLOR_PWD]%}%~%{$reset_color%} $(my_git_prompt_info)%(!.#.$) '
63+RPS1="${return_code}"
64+
65+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[cyan]%}("
66+ZSH_THEME_GIT_PROMPT_SUFFIX=") %{$reset_color%}"
67+ZSH_THEME_GIT_PROMPT_UNTRACKED="%%"
68+ZSH_THEME_GIT_PROMPT_ADDED="+"
69+ZSH_THEME_GIT_PROMPT_MODIFIED="*"
70+ZSH_THEME_GIT_PROMPT_RENAMED="~"
71+ZSH_THEME_GIT_PROMPT_DELETED="!"
72+ZSH_THEME_GIT_PROMPT_UNMERGED="?"
73+