From 114c1d0aabc1f37a16c74ee9112605782cb984f9 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 8 Aug 2014 20:52:02 +0200 Subject: zshrc: reindent, remove old config loading thing (Why did I just comment it out anyway?) --- zsh/.zshrc | 17 ++++++----------- 1 file 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 -- cgit v1.2.3-54-g00ecf