summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-01-29 21:14:02 -0500
committerAmin Bandali <bandali@gnu.org>2019-01-29 21:14:02 -0500
commit9c0da98fb753fd96b0006fe8bb9c3966b9b43f7b (patch)
tree6ef77e566c882de1dcfc0f7eab0ed176264b9520
parent9bc0a751b6e914e8ca233376beb63e5f55619635 (diff)
downloadconfigs-9c0da98fb753fd96b0006fe8bb9c3966b9b43f7b.tar.gz
configs-9c0da98fb753fd96b0006fe8bb9c3966b9b43f7b.tar.xz
configs-9c0da98fb753fd96b0006fe8bb9c3966b9b43f7b.zip
[rc/Zsh] tweak zim templates
see https://github.com/zimfw/zimfw/commit/a05890e8b47e1f4071936ec69d2b77522edfd3d3
-rw-r--r--rc.org12
1 files changed, 5 insertions, 7 deletions
diff --git a/rc.org b/rc.org
index f61bda9..35b6d95 100644
--- a/rc.org
+++ b/rc.org
@@ -3858,8 +3858,6 @@ installed.
:END:
#+begin_src sh
-
-
#################
# CORE SETTINGS #
#################
@@ -3936,7 +3934,6 @@ ztermtitle='%n@%m:%~'
#zhighlighters=(main brackets cursor)
zhighlighters=(main brackets pattern)
-
#
# SSH
#
@@ -3944,7 +3941,6 @@ zhighlighters=(main brackets pattern)
# Load these ssh identities with the ssh module
zssh_ids=(id_ed25519_bandali)
-
#
# Pacman
#
@@ -3954,6 +3950,8 @@ zpacman_frontend='yay'
# Load any helper scripts as defined here
#zpacman_helper=(aur)
+
+
#+end_src
*** zlogin
@@ -3962,14 +3960,13 @@ zpacman_frontend='yay'
:END:
#+begin_src sh
-
-
#
# User configuration sourced by login shells
#
# Initialize zim
[[ -s ${ZIM_HOME}/login_init.zsh ]] && source ${ZIM_HOME}/login_init.zsh
+
#+end_src
*** zprofile
@@ -4051,7 +4048,7 @@ TRAPUSR1() { rehash}; precmd() { [[ $history[$[ HISTCMD -1 ]] == *(pacaur|pacman
# User configuration sourced by interactive shells
#
-# Change default zim location
+# Define zim location
export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
# Start zim
@@ -4107,6 +4104,7 @@ aur() {
# i-beam cursor
echo -e "\033[5 q"
#echo -e "\033[6 q"
+
#+end_src
* Scripts