Jelajahi Sumber

Use more defaultish zlogin, update zlogin

Kevin 5 tahun lalu
induk
melakukan
9dadc6e5bd
2 mengubah file dengan 4 tambahan dan 16 penghapusan
  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.