diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-08 20:52:02 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-08 20:52:02 +0200 |
commit | 114c1d0aabc1f37a16c74ee9112605782cb984f9 (patch) | |
tree | 7965f060cd92ed5c8c8d3f7542f9e7820b556c96 /zsh | |
parent | 896b5e31f1f6e3253b38ddde16be70b4f54b11af (diff) | |
download | dotfiles-114c1d0aabc1f37a16c74ee9112605782cb984f9.tar.xz |
zshrc: reindent, remove old config loading thing
(Why did I just comment it out anyway?)
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 17 |
1 files changed, 6 insertions, 11 deletions
@@ -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 |