Quellcode durchsuchen

Use more defaultish zlogin, update zlogin

Kevin vor 5 Jahren
Ursprung
Commit
9dadc6e5bd
2 geänderte Dateien mit 4 neuen und 16 gelöschten Zeilen
  1. 1 1
      install.conf.yaml
  2. 3 15
      zlogin

+ 1 - 1
install.conf.yaml

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

+ 3 - 15
zprofile → zlogin

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