Переглянути джерело

Use more defaultish zlogin, update zlogin

Kevin 5 роки тому
батько
коміт
9dadc6e5bd
2 змінених файлів з 4 додано та 16 видалено
  1. 1 1
      install.conf.yaml
  2. 3 15
      zlogin

+ 1 - 1
install.conf.yaml

@@ -10,7 +10,7 @@
 
 - link:
     ~/.dotfiles: ''
-    ~/.zprofile: zprofile
+    ~/.zlogin: zlogin
     ~/.zshrc: zshrc
     ~/.tmux.conf: tmux.conf
     ~/.clang-format: clang-format

+ 3 - 15
zprofile → zlogin

@@ -1,23 +1,15 @@
-#
-# Editors
-#
-
+# setup editors/viewers
 export EDITOR='nvim'
 export VISUAL='nvim'
 export PAGER='less'
 
-#
-# Language
-#
+# let zsh find the history
+export HISTFILE=$HOME/.zhistory
 
 if [[ -z "$LANG" ]]; then
   export LANG='en_US.UTF-8'
 fi
 
-#
-# Paths
-#
-
 # Ensure path arrays do not contain duplicates.
 typeset -gU cdpath fpath mailpath path
 
@@ -28,10 +20,6 @@ path=(
   $path
 )
 
-#
-# Less
-#
-
 # Set the default Less options.
 # Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
 # Remove -X and -F (exit if the content fits on one screen) to enable it.