aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-08 20:52:02 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-08-08 20:52:02 +0200
commit114c1d0aabc1f37a16c74ee9112605782cb984f9 (patch)
tree7965f060cd92ed5c8c8d3f7542f9e7820b556c96 /zsh/.zshrc
parent896b5e31f1f6e3253b38ddde16be70b4f54b11af (diff)
downloaddotfiles-114c1d0aabc1f37a16c74ee9112605782cb984f9.tar.xz
zshrc: reindent, remove old config loading thing
(Why did I just comment it out anyway?)
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc17
1 files changed, 6 insertions, 11 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 2cac9e2..b26b27a 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -67,27 +67,22 @@ function get_git_branch {
# Print basic prompt to the window title
function precmd {
- print -Pn "\e];%n %~\a"
- get_git_branch
+ print -Pn "\e];%n %~\a"
+ get_git_branch
}
# Print the current running command's name to the window title
function preexec {
- local cmd=${1[(wr)^(*=*|sudo|exec|ssh|-*)]}
- print -Pn "\e];$cmd:q\a"
+ local cmd=${1[(wr)^(*=*|sudo|exec|ssh|-*)]}
+ print -Pn "\e];$cmd:q\a"
}
-
-# Load all configs
-#for f in ~/.config/zsh/zsh.d/*.zsh
-# source $f
-
source "$ZDOTDIR"/aliases.zsh
source "$ZDOTDIR"/keybindings.zsh
zle -N edit-command-line
if [[ -n "$VTE_VERSION" ]]; then
- source /etc/profile.d/vte.sh
- __vte_prompt_command
+ source /etc/profile.d/vte.sh
+ __vte_prompt_command
fi